class DefaultNavigator

The default navigator.

This class is responsible for the default traversal algorithm of the different code elements.

Unlike other visitor pattern implementations, this allows to separate the traversal logic from the objects that are traversed.

Methods

setConstantSortFunc(Closure $func = null)

Sets a custom constant sorting function.

setPropertySortFunc(Closure $func = null)

Sets a custom property sorting function.

setMethodSortFunc(Closure $func = null)

Sets a custom method sorting function.

accept(GeneratorVisitorInterface $visitor, GenerateableInterface $model)

No description

Details

at line line 57
setConstantSortFunc(Closure $func = null)

Sets a custom constant sorting function.

Parameters

Closure $func

at line line 66
setPropertySortFunc(Closure $func = null)

Sets a custom property sorting function.

Parameters

Closure $func

at line line 75
setMethodSortFunc(Closure $func = null)

Sets a custom method sorting function.

Parameters

Closure $func

at line line 79
accept(GeneratorVisitorInterface $visitor, GenerateableInterface $model)