TokenParser\TransChoiceTokenParser (Bridge\Twig)
Symfony\Bridge\Twig\TokenParser\TransChoiceTokenParser
class TransChoiceTokenParser extends TransTokenParser
Token Parser for the 'transchoice' tag.
Methods
Twig_Node | parse(Twig_Token $token) Parses a token and returns a node. | |
decideTransFork($token) | from TransTokenParser | |
string | getTag() Gets the tag name associated with this token parser. | |
decideTransChoiceFork($token) |
Details
public Twig_Node parse(Twig_Token $token)
Parses a token and returns a node.
public decideTransFork($token)
public string getTag()
Gets the tag name associated with this token parser.
public decideTransChoiceFork($token)
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Bridge/Twig/TokenParser/TransChoiceTokenParser.html