\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>
Synopsis
interface Twig_TokenParserBrokerInterface
{
- // methods
- public null|Twig_TokenParserInterface getTokenParser()
- public void setParser()
- public null|Twig_ParserInterface getParser()
Methods
public
- getParser() — Gets the Twig_ParserInterface.
- getTokenParser() — Gets a TokenParser suitable for a tag.
- setParser() — Calls Twig_TokenParserInterface::setParser on all parsers the implementation knows of.