public function Twig_Extension_Escaper::getTokenParsers in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/Twig/Extension/Escaper.php \Twig_Extension_Escaper::getTokenParsers()
Returns the token parser instances to add to the existing list.
Return value
Overrides Twig_Extension::getTokenParsers
File
- vendor/
Twig/ Extension/ Escaper.php, line 27
Class
Code
public function getTokenParsers() {
return array(
new Twig_TokenParser_AutoEscape(),
);
}