메소드 | 설명 | |
---|---|---|
enterNode ( Twig_NodeInterface $node, Twig_Environment $env ) | Called before child nodes are visited. | |
getPriority ( ) | Returns the priority. | |
leaveNode ( Twig_NodeInterface $node, Twig_Environment $env ) | Called after child nodes are visited. |
public enterNode ( Twig_NodeInterface $node, Twig_Environment $env ) | ||
$node | Twig_NodeInterface | The node to visit |
$env | Twig_Environment | The Twig environment instance |
public leaveNode ( Twig_NodeInterface $node, Twig_Environment $env ) | ||
$node | Twig_NodeInterface | The node to visit |
$env | Twig_Environment | The Twig environment instance |