public function getNodeVisitors() { // The node visitor is needed to wrap all variables with // render_var -> twig_render_var() function. return array( new TwigNodeVisitor(), ); }