public function Twig_TokenParserInterface::setParser

Sets the parser associated with this token parser

Parameters

$parser A Twig_Parser instance:

1 method overrides Twig_TokenParserInterface::setParser()
Twig_TokenParser::setParser in drupal/core/vendor/twig/twig/lib/Twig/TokenParser.php
Sets the parser associated with this token parser

File

drupal/core/vendor/twig/twig/lib/Twig/TokenParserInterface.php, line 24

Class

Twig_TokenParserInterface
Interface implemented by token parsers.

Code

public function setParser(Twig_Parser $parser);