PHP Interface Twig_NodeVisitorInterface, php-framework-benchmarks

Author: Fabien Potencier ([email protected])
Afficher le fichier Open project: pmjones/php-framework-benchmarks Interface Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

enterNode() public méthode

Called before 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

getPriority() public méthode

Returns the priority.
public getPriority ( )

leaveNode() public méthode

Called after child nodes are visited.
public leaveNode ( Twig_NodeInterface $node, Twig_Environment $env )
$node Twig_NodeInterface The node to visit
$env Twig_Environment The Twig environment instance