You are here

protected function Twig_Profiler_NodeVisitor_Profiler::doEnterNode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/Profiler/NodeVisitor/Profiler.php \Twig_Profiler_NodeVisitor_Profiler::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/Profiler/NodeVisitor/Profiler.php, line 27

Class

Twig_Profiler_NodeVisitor_Profiler
@author Fabien Potencier <fabien@symfony.com>

Code

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