protected function PHPUnit_Framework_Constraint_LessThan::matches in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Constraint/LessThan.php \PHPUnit_Framework_Constraint_LessThan::matches()
Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.
Parameters
mixed $other Value or object to evaluate.:
Return value
bool
Overrides PHPUnit_Framework_Constraint::matches
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ LessThan.php, line 40
Class
- PHPUnit_Framework_Constraint_LessThan
- Constraint that asserts that the value it is evaluated for is less than a given value.
Code
protected function matches($other) {
return $this->value > $other;
}