final class NodeTraverser

Constants

DontTraverseChildren

StopTraversal

Methods

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

No description

Details

at line 27
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