Twig_TokenParserBroker::getTokenParser
Gets a suitable TokenParser for a tag.
First looks in parsers, then in brokers.
Signature
public function getTokenParser(string
$tag )
Parameters
$tag
— string- A tag name
Returns
- null|Twig_TokenParserInterface
- A Twig_TokenParserInterface or null if no suitable TokenParser was found