Method | Description | |
---|---|---|
decideTransChoiceFork ( $token ) | ||
getTag ( ) : string | Gets the tag name associated with this token parser. | |
parse ( Twig_Token $token ) : Twig_NodeInterface | Parses a token and returns a node. |
public parse ( Twig_Token $token ) : Twig_NodeInterface | ||
$token | Twig_Token | A Twig_Token instance |
return | Twig_NodeInterface | A Twig_NodeInterface instance |