__construct() __construct(mixed $initialValue = null, bool $strict = false) : mixed Creates a new enum. Parameters mixed $initialValue bool $strict Returns mixed —
getConstList() getConstList(bool $includeDefault = true) : array Gets all constants (possible values) as an array. Parameters bool $includeDefault Returns array —