OptionGenerator
in package
Table of Contents
Methods
- generateOptionsFromBackedEnum() : array<int, StringValueOption>|array<int, IntegerValueOption>
- generateOptionsFromUnitEnum() : array<int, StringValueOption>
Methods
generateOptionsFromBackedEnum()
public
static generateOptionsFromBackedEnum(BackedEnum $example) : array<int, StringValueOption>|array<int, IntegerValueOption>
Parameters
- $example : BackedEnum
Return values
array<int, StringValueOption>|array<int, IntegerValueOption>generateOptionsFromUnitEnum()
public
static generateOptionsFromUnitEnum(UnitEnum $example) : array<int, StringValueOption>
Parameters
- $example : UnitEnum