You are here

public function TwigExtensionTestString::__construct in Drupal 8

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

File

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

Class

TwigExtensionTestString

Namespace

Drupal\Tests\Core\Template

Code

public function __construct($string) {
  $this->string = $string;
}