Enum
abstract class Enum
Class Enum
Methods
static array
constants()
Returns all existing constants
static bool
has(string $value)
Check if the enum has the given value
static bool
is(string $value, array $cmp)
Check if the enum is the given value
Details
at line 61
static array
constants()
Returns all existing constants
at line 26
static bool
has(string $value)
Check if the enum has the given value
at line 38
static bool
is(string $value, array $cmp)
Check if the enum is the given value