interface Twig_NodeVisitorInterface
Twig_NodeVisitorInterface is the interface the all node visitor classes must implement.
Methods
| Twig_NodeInterface |
enterNode(Twig_NodeInterface $node, Twig_Environment $env)
Called before child nodes are visited. |
|
| Twig_NodeInterface|false |
leaveNode(Twig_NodeInterface $node, Twig_Environment $env)
Called after child nodes are visited. |
|
| integer |
getPriority()
Returns the priority for this visitor. |
Details
at line 27
public Twig_NodeInterface
enterNode(Twig_NodeInterface $node, Twig_Environment $env)
Called before child nodes are visited.
at line 37
public Twig_NodeInterface|false
leaveNode(Twig_NodeInterface $node, Twig_Environment $env)
Called after child nodes are visited.
at line 46
public integer
getPriority()
Returns the priority for this visitor.
Priority should be between -10 and 10 (0 is the default).