Documentation

SandboxNodeVisitor extends AbstractNodeVisitor
in package

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

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

$filters  : mixed
$functions  : mixed
$inAModule  : mixed
$needsToStringWrap  : mixed
$tags  : mixed
enterNode()  : Node
Called before child nodes are visited.
getPriority()  : mixed
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.
wrapArrayNode()  : mixed
wrapNode()  : mixed

Properties

Methods

wrapArrayNode()

private wrapArrayNode(Node $node, string $name) : mixed
Parameters
$node : Node
$name : string
Return values
mixed

wrapNode()

private wrapNode(Node $node, string $name) : mixed
Parameters
$node : Node
$name : string
Return values
mixed

Search results