Jobbuddy
Chargement...
Recherche...
Aucune correspondance
Référence de la classe AbstractNodeVisitor
Graphe d'héritage de AbstractNodeVisitor:
NodeVisitorInterface

Fonctions membres publiques

 enterNode (Node $node, Environment $env)
 leaveNode (Node $node, Environment $env)
Fonctions membres publiques hérités de NodeVisitorInterface
 getPriority ()

Fonctions membres protégées

 doEnterNode (Node $node, Environment $env)
 doLeaveNode (Node $node, Environment $env)

Description détaillée

Used to make node visitors compatible with Twig 1.x and 2.x.

Auteur
Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com
Obsolète
since Twig 3.9 (to be removed in 4.0)

Documentation des fonctions membres

◆ doEnterNode()

doEnterNode ( Node $node,
Environment $env )
abstractprotected

Called before child nodes are visited.

Renvoie
Node The modified node

◆ doLeaveNode()

doLeaveNode ( Node $node,
Environment $env )
abstractprotected

Called after child nodes are visited.

Renvoie
Node|null The modified node or null if the node must be removed

◆ enterNode()

enterNode ( Node $node,
Environment $env )
final

Called before child nodes are visited.

Renvoie
Node The modified node

Implémente NodeVisitorInterface.

◆ leaveNode()

leaveNode ( Node $node,
Environment $env )
final

Called after child nodes are visited.

Renvoie
Node|null The modified node or null if the node must be removed

Implémente NodeVisitorInterface.


La documentation de cette classe a été générée à partir du fichier suivant :