public function Twig_Tests_EnvironmentTest_NodeVisitor::enterNode in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/test/Twig/Tests/EnvironmentTest.php \Twig_Tests_EnvironmentTest_NodeVisitor::enterNode()
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/ twig/ test/ Twig/ Tests/ EnvironmentTest.php, line 289
Class
Code
public function enterNode(Twig_NodeInterface $node, Twig_Environment $env) {
return $node;
}