public function PHPUnit_Framework_Constraint_IsEmpty::toString in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Constraint/IsEmpty.php \PHPUnit_Framework_Constraint_IsEmpty::toString()
Returns a string representation of the constraint.
Return value
string
Overrides PHPUnit_Framework_SelfDescribing::toString
1 call to PHPUnit_Framework_Constraint_IsEmpty::toString()
- PHPUnit_Framework_Constraint_IsEmpty::failureDescription in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ IsEmpty.php - Returns the description of the failure
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ IsEmpty.php, line 39
Class
- PHPUnit_Framework_Constraint_IsEmpty
- Constraint that checks whether a variable is empty().
Code
public function toString() {
return 'is empty';
}