public function PHPUnit_Framework_Constraint_IsInstanceOf::toString in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Constraint/IsInstanceOf.php \PHPUnit_Framework_Constraint_IsInstanceOf::toString()
Returns a string representation of the constraint.
Return value
string
Overrides PHPUnit_Framework_SelfDescribing::toString
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Constraint/ IsInstanceOf.php, line 71
Class
- PHPUnit_Framework_Constraint_IsInstanceOf
- Constraint that asserts that the object it is evaluated for is an instance of a given class.
Code
public function toString() {
return sprintf('is instance of %s "%s"', $this
->getType(), $this->className);
}