public function Twig_NodeVisitorInterface::enterNode in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/Twig/NodeVisitorInterface.php \Twig_NodeVisitorInterface::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
4 methods override Twig_NodeVisitorInterface::enterNode()
- Twig_NodeVisitor_Escaper::enterNode in vendor/
Twig/ NodeVisitor/ Escaper.php - Called before child nodes are visited.
- Twig_NodeVisitor_Optimizer::enterNode in vendor/
Twig/ NodeVisitor/ Optimizer.php - Called before child nodes are visited.
- Twig_NodeVisitor_SafeAnalysis::enterNode in vendor/
Twig/ NodeVisitor/ SafeAnalysis.php - Called before child nodes are visited.
- Twig_NodeVisitor_Sandbox::enterNode in vendor/
Twig/ NodeVisitor/ Sandbox.php - Called before child nodes are visited.
File
- vendor/
Twig/ NodeVisitorInterface.php, line 27
Class
- Twig_NodeVisitorInterface
- Twig_NodeVisitorInterface is the interface the all node visitor classes must implement.
Code
public function enterNode(Twig_NodeInterface $node, Twig_Environment $env);