Documentation

NodeVisitorInterface

Interface for node visitor classes.

Tags
author

Fabien Potencier fabien@symfony.com

Table of Contents

enterNode()  : Node
Called before child nodes are visited.
getPriority()  : int
Returns the priority for this visitor.
leaveNode()  : Node|null
Called after child nodes are visited.

Methods

getPriority()

Returns the priority for this visitor.

public getPriority() : int

Priority should be between -10 and 10 (0 is the default).

Return values
int

The priority level

Search results