You are here

public function Twig_Extension_Escaper::getNodeVisitors in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Extension/Escaper.php \Twig_Extension_Escaper::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/Escaper.php, line 35

Class

Twig_Extension_Escaper

Code

public function getNodeVisitors() {
  return array(
    new Twig_NodeVisitor_Escaper(),
  );
}