public function Twig_NodeVisitorInterface::leaveNode in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/NodeVisitorInterface.php \Twig_NodeVisitorInterface::leaveNode()
Called after child nodes are visited.
Parameters
Twig_NodeInterface $node The node to visit:
Twig_Environment $env The Twig environment instance:
Return value
Twig_NodeInterface|false The modified node or false if the node must be removed
3 methods override Twig_NodeVisitorInterface::leaveNode()
- CExtDisablingNodeVisitor::leaveNode in vendor/
twig/ twig/ test/ Twig/ Tests/ TemplateTest.php - Called after child nodes are visited.
- Twig_BaseNodeVisitor::leaveNode in vendor/
twig/ twig/ lib/ Twig/ BaseNodeVisitor.php - Called after child nodes are visited.
- Twig_Tests_EnvironmentTest_NodeVisitor::leaveNode in vendor/
twig/ twig/ test/ Twig/ Tests/ EnvironmentTest.php - Called after child nodes are visited.
File
- vendor/
twig/ twig/ lib/ Twig/ NodeVisitorInterface.php, line 37
Class
- Twig_NodeVisitorInterface
- Twig_NodeVisitorInterface is the interface the all node visitor classes must implement.
Code
public function leaveNode(Twig_NodeInterface $node, Twig_Environment $env);