You are here

public function Twig_TokenParserBroker::getParser in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/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/twig/lib/Twig/TokenParserBroker.php, line 127

Class

Twig_TokenParserBroker
Default implementation of a token parser broker.

Code

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