EnumInterface
interface EnumInterface (View source)
The interface that all enum classes must implement and respond to.
Methods
static array
introspect()
Introspects the Enum for its values.
static array
introspectKeys()
Introspects the Enum for its keys.
static bool
hasValue(string $value)
Determines if the value is one of the Enum values of this type.