class TransChoiceTokenParser extends TransTokenParser
Token Parser for the 'transchoice' tag.
Node | parse(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) |
Parses a token and returns a node.
Token | $token |
Node |
SyntaxError |
$token |
Gets the tag name associated with this token parser.
string | The tag name |
$token |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bridge/Twig/TokenParser/TransChoiceTokenParser.html