final class NodeTraverser

Constants

DontTraverseChildren

StopTraversal

Methods

traverse(Node $node, callable|null $enter = null, callable|null $leave = null)

No description

Details

at line 31
Node traverse(Node $node, callable|null $enter = null, callable|null $leave = null)

No description

Parameters

Node $node
callable|null $enter
callable|null $leave

Return Value

Node

Traits

Better OOP experience.