Interface for node visitor classes.
author | Fabien Potencier fabien@symfony.com |
---|---|
package | Default |
enterNode(\Twig_NodeInterface $node,\Twig\Environment $env): \Twig_NodeInterface
\Twig_NodeInterface
\Twig\Environment
\Twig_NodeInterface
The modified node
getPriority(): integer
Priority should be between -10 and 10 (0 is the default).
integer
The priority level
leaveNode(\Twig_NodeInterface $node,\Twig\Environment $env): \Twig_NodeInterface|false|null
\Twig_NodeInterface
\Twig\Environment
\Twig_NodeInterface|false|null
The modified node or null if the node must be removed