You are here

public function Twig_TokenParserBrokerInterface::getTokenParser in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/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/twig/lib/Twig/TokenParserBroker.php
Gets a suitable TokenParser for a tag.

File

vendor/twig/twig/lib/Twig/TokenParserBrokerInterface.php, line 31

Class

Twig_TokenParserBrokerInterface
Interface implemented by token parser brokers.

Code

public function getTokenParser($tag);