You are here

class ClassWithToString in Zircon Profile 8

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

A class with a __toString() method.

@since Class available since Release 3.6.0

Hierarchy

Expanded class hierarchy of ClassWithToString

File

vendor/phpunit/phpunit/tests/_files/ClassWithToString.php, line 16

View source
class ClassWithToString {
  public function __toString() {
    return 'string representation';
  }

}

Members