Class

Symfony\Bridge\Twig\TokenParser\FormThemeTokenParser

class FormThemeTokenParser extends Twig_TokenParser

Token Parser for the 'form_theme' tag.

Methods

Twig_NodeInterface parse(Twig_Token $token)

Parses a token and returns a node.

string getTag()

Gets the tag name associated with this token parser.

Details

at line 30
public Twig_NodeInterface parse(Twig_Token $token)

Parses a token and returns a node.

Parameters

Twig_Token $token A Twig_Token instance

Return Value

Twig_NodeInterface A Twig_NodeInterface instance

at line 57
public string getTag()

Gets the tag name associated with this token parser.

Return Value

string The tag name