You are here

public function Twig_NodeVisitor_SafeAnalysis::enterNode in Translation template extractor 6.3

Called before child nodes are visited.

Parameters

Twig_NodeInterface $node The node to visit:

Twig_Environment $env The Twig environment instance:

Return value

Twig_NodeInterface The modified node

Overrides Twig_NodeVisitorInterface::enterNode

File

vendor/Twig/NodeVisitor/SafeAnalysis.php, line 51

Class

Twig_NodeVisitor_SafeAnalysis

Code

public function enterNode(Twig_NodeInterface $node, Twig_Environment $env) {
  return $node;
}