You are here

public function Twig_TokenParserBrokerInterface::setParser in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/TokenParserBrokerInterface.php \Twig_TokenParserBrokerInterface::setParser()

Calls Twig_TokenParserInterface::setParser on all parsers the implementation knows of.

Parameters

Twig_ParserInterface $parser A Twig_ParserInterface interface:

1 method overrides Twig_TokenParserBrokerInterface::setParser()
Twig_TokenParserBroker::setParser in vendor/Twig/TokenParserBroker.php
Calls Twig_TokenParserInterface::setParser on all parsers the implementation knows of.

File

vendor/Twig/TokenParserBrokerInterface.php, line 37

Class

Twig_TokenParserBrokerInterface
Interface implemented by token parser brokers.

Code

public function setParser(Twig_ParserInterface $parser);