public function ClassWithToString::__toString in Zircon Profile 8
Same name in this branch
- 8 vendor/sebastian/comparator/tests/_files/ClassWithToString.php \SebastianBergmann\Comparator\ClassWithToString::__toString()
- 8 vendor/phpunit/phpunit/tests/_files/ClassWithToString.php \ClassWithToString::__toString()
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/tests/_files/ClassWithToString.php \ClassWithToString::__toString()
File
- vendor/
phpunit/ phpunit/ tests/ _files/ ClassWithToString.php, line 18
Class
- ClassWithToString
- A class with a __toString() method.
Code
public function __toString() {
return 'string representation';
}