final class Traverser

internal  
 

Constants

DontTraverseChildren

StopTraversal

Methods

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

No description

Details

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