public function Twig_TokenParserBrokerInterface::getTokenParser in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/Twig/TokenParserBrokerInterface.php \Twig_TokenParserBrokerInterface::getTokenParser()
Gets a TokenParser suitable for a tag.
Parameters
string $tag A tag name:
Return value
null|Twig_TokenParserInterface A Twig_TokenParserInterface or null if no suitable TokenParser was found
1 method overrides Twig_TokenParserBrokerInterface::getTokenParser()
- Twig_TokenParserBroker::getTokenParser in vendor/
Twig/ TokenParserBroker.php - Gets a suitable TokenParser for a tag.
File
- vendor/
Twig/ TokenParserBrokerInterface.php, line 31
Class
- Twig_TokenParserBrokerInterface
- Interface implemented by token parser brokers.
Code
public function getTokenParser($tag);