Source: ~/modules/cms/twig/FrameworkTokenParser.php


  • Twig_TokenParser


  • Twig_TokenParserInterface

Parser for the {% framework %} Twig tag.

{% framework %}

Protected properties

There are no protected properties in the class.

Show inherited protected properties

Inherited protected properties

  • protected Twig_Parser $parser - defined in Twig_TokenParser.

Public methods

public string getTag()

Gets the tag name associated with this token parser.

public Twig\Node\Node parse(TwigToken $token)

Parses a token and returns a node.

  • TwigToken $token - A TwigToken instance

Show inherited public methods

Inherited public methods

  • public void setParser($parser) - defined in Twig_TokenParser. Sets the parser associated with this token parser.