function AbstractNodeVisitor::doLeaveNode
Called after child nodes are visited.
Return value
Node|null The modified node or null if the node must be removed
1 call to AbstractNodeVisitor::doLeaveNode()
- AbstractNodeVisitor::leaveNode in vendor/
twig/ twig/ src/ NodeVisitor/ AbstractNodeVisitor.php - Called after child nodes are visited.
File
-
vendor/
twig/ twig/ src/ NodeVisitor/ AbstractNodeVisitor.php, line 48
Class
- AbstractNodeVisitor
- Used to make node visitors compatible with Twig 1.x and 2.x.
Namespace
Twig\NodeVisitorCode
protected abstract function doLeaveNode(Node $node, Environment $env);