Documentation

AbstractNodeVisitor
in package
implements NodeVisitorInterface

AbstractYes

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

since Twig 3.9 (to be removed in 4.0)

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

Interfaces

NodeVisitorInterface
Interface for node visitor classes.

Methods

enterNode()  : Node
Called before child nodes are visited.
leaveNode()  : Node|null
Called after child nodes are visited.
doEnterNode()  : Node
Called before child nodes are visited.
doLeaveNode()  : Node|null
Called after child nodes are visited.

Methods


        
On this page

Search results