public function PHPUnit_Framework_Constraint_GreaterThan::toString in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Constraint/GreaterThan.php \PHPUnit_Framework_Constraint_GreaterThan::toString()
Returns a string representation of the constraint.
Return value
string
Overrides PHPUnit_Framework_SelfDescribing::toString
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ GreaterThan.php, line 50
Class
- PHPUnit_Framework_Constraint_GreaterThan
- Constraint that asserts that the value it is evaluated for is greater than a given value.
Code
public function toString() {
return 'is greater than ' . $this->exporter
->export($this->value);
}