interface Twig_TokenParserBrokerInterface

Interface implemented by token parser brokers.

Token parser brokers allows to implement custom logic in the process of resolving a token parser for a given tag name.

@author Arnaud Le Blanc <arnaud.lb@gmail.com>

Hierarchy

Expanded class hierarchy of Twig_TokenParserBrokerInterface

All classes that implement Twig_TokenParserBrokerInterface

Deprecated

since 1.12 (to be removed in 2.0)

File

drupal/core/vendor/twig/twig/lib/Twig/TokenParserBrokerInterface.php, line 21

View source

Members

Namesort descending Modifiers Type Description Overrides
Twig_TokenParserBrokerInterface::getParser public function Gets the Twig_ParserInterface. 1
Twig_TokenParserBrokerInterface::getTokenParser public function Gets a TokenParser suitable for a tag. 1
Twig_TokenParserBrokerInterface::setParser public function Calls Twig_TokenParserInterface::setParser on all parsers the implementation knows of. 1