You are here

public function TwigExtensionTestString::__toString in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php \Drupal\Tests\Core\Template\TwigExtensionTestString::__toString()
  2. 9 core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php \Drupal\Tests\Core\Template\TwigExtensionTestString::__toString()

File

core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php, line 438

Class

TwigExtensionTestString

Namespace

Drupal\Tests\Core\Template

Code

public function __toString() {
  return $this->string;
}