public function __construct($value, $minCompare, $maxCompare)
 {
     parent::__construct(self::TYPE_NUMERIC);
     $this->_value = $value;
     $this->_minCompare = $minCompare;
     $this->_maxCompare = $maxCompare;
 }
Esempio n. 2
0
 public function __construct($value, $delta)
 {
     parent::__construct(self::TYPE_NUMERIC);
     $this->_value = $value;
     $this->_delta = $delta;
 }
 public function __construct(Matcher $keyMatcher)
 {
     parent::__construct(self::TYPE_ARRAY);
     $this->_keyMatcher = $keyMatcher;
 }
 public function __construct(Matcher $elementMatcher)
 {
     parent::__construct(self::TYPE_ARRAY);
     $this->_elementMatcher = $elementMatcher;
 }
 public function __construct(array $substrings)
 {
     parent::__construct(self::TYPE_STRING);
     $this->_substrings = $substrings;
 }
Esempio n. 6
0
 public function __construct(array $elementMatchers)
 {
     parent::__construct(self::TYPE_ARRAY);
     Util::checkAllAreMatchers($elementMatchers);
     $this->_elementMatchers = $elementMatchers;
 }
 public function __construct($string)
 {
     parent::__construct(self::TYPE_STRING);
     $this->_string = $string;
 }