function 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 drupal/core/vendor/twig/twig/lib/Twig/TokenParserBroker.php
Calls Twig_TokenParserInterface::setParser on all parsers the implementation knows of.

File

drupal/core/vendor/twig/twig/lib/Twig/TokenParserBrokerInterface.php, line 37

Class

Twig_TokenParserBrokerInterface
Interface implemented by token parser brokers.

Code

function setParser(Twig_ParserInterface $parser);