\TwigNodeTraverser

Twig_NodeTraverser is a node traverser.

It visits all nodes and their children and calls the given visitor for each.

Summary

Methods
Properties
Constants
__construct()
addVisitor()
traverse()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
traverseForVisitor()
$env
$visitors
N/A

Properties

$env

$env : 

Type

$visitors

$visitors : 

Type

Methods

traverse()

traverse(\Twig_Node  $node) : \Twig_Node

Traverses a node and calls the registered visitors.

Parameters

\Twig_Node $node

Returns

\Twig_Node