예제 #1
0
 public function __construct($required = false, $force_int = false, $min = null, $max = null)
 {
     parent::__construct($required);
     $this->force_int = $force_int;
     $this->min = $min;
     $this->max = $max;
 }
예제 #2
0
 public function __construct($required = false)
 {
     parent::__construct($required);
 }
예제 #3
0
 public function __construct($required = false, $min_length = null, $max_length = null)
 {
     parent::__construct($required);
     $this->min_length = $min_length;
     $this->max_length = $max_length;
 }