public function Twig_TokenParserInterface::setParser in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/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/ TokenParser.php - Sets the parser associated with this token parser.
File
- vendor/
Twig/ TokenParserInterface.php, line 24
Class
- Twig_TokenParserInterface
- Interface implemented by token parsers.
Code
public function setParser(Twig_Parser $parser);