ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Interface implemented by token parser brokers. More...
Public Member Functions | |
getTokenParser ($tag) | |
Gets a TokenParser suitable for a tag. More... | |
setParser (Twig_ParserInterface $parser) | |
Calls Twig_TokenParserInterface::setParser on all parsers the implementation knows of. More... | |
getParser () | |
Gets the Twig_ParserInterface. More... | |
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.
Definition at line 22 of file TokenParserBrokerInterface.php.
Twig_TokenParserBrokerInterface::getParser | ( | ) |
Gets the Twig_ParserInterface.
Implemented in Twig_TokenParserBroker.
Twig_TokenParserBrokerInterface::getTokenParser | ( | $tag | ) |
Gets a TokenParser suitable for a tag.
string | $tag | A tag name |
Implemented in Twig_TokenParserBroker.
Twig_TokenParserBrokerInterface::setParser | ( | Twig_ParserInterface | $parser | ) |
Calls Twig_TokenParserInterface::setParser on all parsers the implementation knows of.
Implemented in Twig_TokenParserBroker.