You are here

public function Twig_TokenParserBrokerInterface::setParser in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/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/twig/lib/Twig/TokenParserBroker.php
Calls Twig_TokenParserInterface::setParser on all parsers the implementation knows of.

File

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

Class

Twig_TokenParserBrokerInterface
Interface implemented by token parser brokers.

Code

public function setParser(Twig_ParserInterface $parser);