ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Extends a template by another one. More...
Public Member Functions | |
parse (Twig_Token $token) | |
Parses a token and returns a node. More... | |
getTag () | |
Gets the tag name associated with this token parser. More... | |
Public Member Functions inherited from Twig_TokenParser | |
setParser (Twig_Parser $parser) | |
Sets the parser associated with this token parser. More... | |
Additional Inherited Members | |
Protected Attributes inherited from Twig_TokenParser | |
$parser | |
Extends a template by another one.
{% extends "base.html" %}
Definition at line 22 of file Extends.php.
Twig_TokenParser_Extends::getTag | ( | ) |
Gets the tag name associated with this token parser.
Implements Twig_TokenParserInterface.
Definition at line 40 of file Extends.php.
Twig_TokenParser_Extends::parse | ( | Twig_Token | $token | ) |
Parses a token and returns a node.
Twig_Error_Syntax |
Implements Twig_TokenParserInterface.
Definition at line 24 of file Extends.php.
References GuzzleHttp\Psr7\$stream, Twig_Token\BLOCK_END_TYPE, and Twig_Token\getLine().