public function Twig_Extension_Sandbox::getNodeVisitors in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/Twig/Extension/Sandbox.php \Twig_Extension_Sandbox::getNodeVisitors()
Returns the node visitor instances to add to the existing list.
Return value
Twig_NodeVisitorInterface[] An array of Twig_NodeVisitorInterface instances
Overrides Twig_Extension::getNodeVisitors
File
- vendor/
Twig/ Extension/ Sandbox.php, line 38
Class
Code
public function getNodeVisitors() {
return array(
new Twig_NodeVisitor_Sandbox(),
);
}