public function PHPUnit_Framework_Constraint_Attribute::toString in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Constraint/Attribute.php \PHPUnit_Framework_Constraint_Attribute::toString()
Returns a string representation of the constraint.
Return value
string
Overrides PHPUnit_Framework_SelfDescribing::toString
1 call to PHPUnit_Framework_Constraint_Attribute::toString()
- PHPUnit_Framework_Constraint_Attribute::failureDescription in vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Attribute.php - Returns the description of the failure
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ Attribute.php, line 65
Class
- PHPUnit_Framework_Constraint_Attribute
- @since Class available since Release 3.1.0
Code
public function toString() {
return 'attribute "' . $this->attributeName . '" ' . $this->innerConstraint
->toString();
}