Twig_TokenParser_Use
extends UseTokenParser
in package
Imports blocks defined in another template into the current template.
Tags
Table of Contents
- $parser : Parser
- getTag() : mixed
- parse() : mixed
- setParser() : mixed
- Sets the parser associated with this token parser.
Properties
$parser
protected
Parser
$parser
Methods
getTag()
public
getTag() : mixed
Return values
mixed —parse()
public
parse(Token $token) : mixed
Parameters
- $token : Token
Return values
mixed —setParser()
Sets the parser associated with this token parser.
public
setParser(Parser $parser) : mixed
Parameters
- $parser : Parser