Documentation

Twig_BaseNodeVisitor extends AbstractNodeVisitor
in package

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

Tags
deprecated

since Twig 2.7, use "Twig\NodeVisitor\AbstractNodeVisitor" instead

Table of Contents

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

Search results