public function StringObject::__toString in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php \Drupal\Tests\Component\Assertion\StringObject::__toString()
File
- core/
tests/ Drupal/ Tests/ Component/ Assertion/ InspectorTest.php, line 261 - Contains \Drupal\Tests\Component\Assertion\InspectorTest.
Class
- StringObject
- Quick class for testing for objects with __toString.
Namespace
Drupal\Tests\Component\AssertionCode
public function __toString() {
return 'foo';
}