public function PHPUnit_Framework_Exception::__toString in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/src/Framework/Exception.php \PHPUnit_Framework_Exception::__toString()
Return value
string
1 method overrides PHPUnit_Framework_Exception::__toString()
- PHPUnit_Framework_ExceptionWrapper::__toString in vendor/
phpunit/ phpunit/ src/ Framework/ ExceptionWrapper.php
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Exception.php, line 63
Class
- PHPUnit_Framework_Exception
- Base class for all PHPUnit Framework exceptions.
Code
public function __toString() {
$string = PHPUnit_Framework_TestFailure::exceptionToString($this);
if ($trace = PHPUnit_Util_Filter::getFilteredStacktrace($this)) {
$string .= "\n" . $trace;
}
return $string;
}