- Deprecated:
- since version 1.5
Definition at line 15 of file Body.php.
◆ __construct()
Twig_Extensions_Grammar_Body::__construct |
( |
|
$name, |
|
|
|
$end = null |
|
) |
| |
◆ __toString()
Twig_Extensions_Grammar_Body::__toString |
( |
| ) |
|
Definition at line 26 of file Body.php.
28 return sprintf(
'<%s:body>', $this->name);
◆ decideBlockEnd()
Twig_Extensions_Grammar_Body::decideBlockEnd |
( |
Twig_Token |
$token | ) |
|
Definition at line 39 of file Body.php.
References Twig_Token\test().
41 return $token->
test($this->end);
test($type, $values=null)
Tests the current token for a type and/or a value.
◆ parse()
Twig_Extensions_Grammar_Body::parse |
( |
Twig_Token |
$token | ) |
|
◆ $end
Twig_Extensions_Grammar_Body::$end |
|
protected |
The documentation for this class was generated from the following file:
- libs/composer/vendor/twig/extensions/lib/Twig/Extensions/Grammar/Body.php