public function __construct($value, $minCompare, $maxCompare) { parent::__construct(self::TYPE_NUMERIC); $this->_value = $value; $this->_minCompare = $minCompare; $this->_maxCompare = $maxCompare; }
public function __construct(array $elementMatchers) { parent::__construct(self::TYPE_ARRAY); Hamcrest_Util::checkAllAreMatchers($elementMatchers); $this->_elementMatchers = $elementMatchers; }
public function __construct($substring) { parent::__construct(self::TYPE_STRING); $this->_substring = $substring; }
public function __construct(Hamcrest_Matcher $elementMatcher) { parent::__construct(self::TYPE_ARRAY); $this->_elementMatcher = $elementMatcher; }
public function __construct($value, $delta) { parent::__construct(self::TYPE_NUMERIC); $this->_value = $value; $this->_delta = $delta; }
public function __construct(array $substrings) { parent::__construct(self::TYPE_STRING); $this->_substrings = $substrings; }
public function __construct(Hamcrest_Matcher $keyMatcher, Hamcrest_Matcher $valueMatcher) { parent::__construct(self::TYPE_ARRAY); $this->_keyMatcher = $keyMatcher; $this->_valueMatcher = $valueMatcher; }