You are here

public function Twig_TokenParserBroker::getParser in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/TokenParserBroker.php \Twig_TokenParserBroker::getParser()

Gets the Twig_ParserInterface.

Return value

null|Twig_ParserInterface A Twig_ParserInterface instance or null

Overrides Twig_TokenParserBrokerInterface::getParser

File

vendor/Twig/TokenParserBroker.php, line 121

Class

Twig_TokenParserBroker
Default implementation of a token parser broker.

Code

public function getParser() {
  return $this->parser;
}