class TwigExtensionTestString in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php \Drupal\Tests\Core\Template\TwigExtensionTestString
Hierarchy
- class \Drupal\Tests\Core\Template\TwigExtensionTestString
Expanded class hierarchy of TwigExtensionTestString
File
- core/
tests/ Drupal/ Tests/ Core/ Template/ TwigExtensionTest.php, line 373
Namespace
Drupal\Tests\Core\TemplateView source
class TwigExtensionTestString {
protected $string;
public function __construct($string) {
$this->string = $string;
}
public function __toString() {
return $this->string;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TwigExtensionTestString:: |
protected | property | ||
TwigExtensionTestString:: |
public | function | ||
TwigExtensionTestString:: |
public | function |