\Twig_NodeVisitorInterface
Twig_NodeVisitorInterface is the interface the all node visitor classes must implement.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
interface Twig_NodeVisitorInterface
{
- // methods
- public Twig_NodeInterface enterNode()
- public Twig_NodeInterface|false leaveNode()
- public integer getPriority()
Methods
public
- enterNode() — Called before child nodes are visited.
- getPriority() — Returns the priority for this visitor.
- leaveNode() — Called after child nodes are visited.