Esempio n. 1
0
 public function __construct($name, array $options)
 {
     parent::__construct($name);
     $this->options = $options;
 }
Esempio n. 2
0
 public function __construct($name, $min = null, $max = null)
 {
     parent::__construct($name);
     $this->min = $min;
     $this->max = $max;
 }
Esempio n. 3
0
 public function __construct($name, $regex = '/.*/')
 {
     parent::__construct($name);
     $this->regex = $regex;
 }
Esempio n. 4
0
 public function __construct()
 {
     parent::__construct('Email');
 }