예제 #1
0
 public function __construct(Config $config, $name, $value, array $validValues)
 {
     $this->validValues = $validValues;
     parent::__construct($config, $name, $value);
 }
 public function __construct(Config $config, $name, $value, $minValue, $maxValue)
 {
     $this->minValue = $minValue;
     $this->maxValue = $maxValue;
     parent::__construct($config, $name, $value);
 }