class DefaultGeneratorStrategy

The default generator strategy.

This strategy allows to change the order in which methods, properties and constants are sorted.

Methods

__construct(GeneratorVisitorInterface $visitor = null)

No description

setConstantSortFunc(Closure $func = null)

No description

setMethodSortFunc(Closure $func = null)

No description

setPropertySortFunc(Closure $func = null)

No description

generate(GenerateableInterface $class)

No description

Details

at line line 38
__construct(GeneratorVisitorInterface $visitor = null)

Parameters

GeneratorVisitorInterface $visitor

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

Parameters

Closure $func

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

Parameters

Closure $func

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

Parameters

Closure $func

at line line 55
generate(GenerateableInterface $class)

Parameters

GenerateableInterface $class