You are here

public function StringObject::__toString in Zircon Profile 8.0

Same name and namespace in other branches
  1. 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\Assertion

Code

public function __toString() {
  return 'foo';
}