function StringObject::__toString
Same name in other branches
- 9 core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php \Drupal\Tests\Component\Assertion\StringObject::__toString()
- 10 core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php \Drupal\Tests\Component\Assertion\StringObject::__toString()
- 11.x core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php \Drupal\Tests\Component\Assertion\StringObject::__toString()
File
-
core/
tests/ Drupal/ Tests/ Component/ Assertion/ InspectorTest.php, line 263
Class
- StringObject
- Quick class for testing for objects with __toString.
Namespace
Drupal\Tests\Component\AssertionCode
public function __toString() {
return 'foo';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.