You are here

public function ClassWithToString::__toString in Zircon Profile 8

Same name in this branch
  1. 8 vendor/sebastian/comparator/tests/_files/ClassWithToString.php \SebastianBergmann\Comparator\ClassWithToString::__toString()
  2. 8 vendor/phpunit/phpunit/tests/_files/ClassWithToString.php \ClassWithToString::__toString()
Same name and namespace in other branches
  1. 8.0 vendor/sebastian/comparator/tests/_files/ClassWithToString.php \SebastianBergmann\Comparator\ClassWithToString::__toString()

File

vendor/sebastian/comparator/tests/_files/ClassWithToString.php, line 15

Class

ClassWithToString

Namespace

SebastianBergmann\Comparator

Code

public function __toString() {
  return 'string representation';
}