public function Twig_TokenParserInterface::setParser in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/TokenParserInterface.php \Twig_TokenParserInterface::setParser()
Sets the parser associated with this token parser.
Parameters
Twig_Parser $parser A Twig_Parser instance:
1 method overrides Twig_TokenParserInterface::setParser()
- Twig_TokenParser::setParser in vendor/
twig/ twig/ lib/ Twig/ TokenParser.php - Sets the parser associated with this token parser.
File
- vendor/
twig/ twig/ lib/ Twig/ TokenParserInterface.php, line 24
Class
- Twig_TokenParserInterface
- Interface implemented by token parsers.
Code
public function setParser(Twig_Parser $parser);