You are here

protected function Twig_NodeVisitor_SafeAnalysis::doEnterNode in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/lib/Twig/NodeVisitor/SafeAnalysis.php \Twig_NodeVisitor_SafeAnalysis::doEnterNode()

Called before child nodes are visited.

Parameters

Twig_Node $node The node to visit:

Twig_Environment $env The Twig environment instance:

Return value

Twig_Node The modified node

Overrides Twig_BaseNodeVisitor::doEnterNode

File

vendor/twig/twig/lib/Twig/NodeVisitor/SafeAnalysis.php, line 63

Class

Twig_NodeVisitor_SafeAnalysis

Code

protected function doEnterNode(Twig_Node $node, Twig_Environment $env) {
  return $node;
}