Extension for the myclabs/php-enum library.
getLabel()
Returns the enum label
Static methods:
-
labels()
Returns the labels of all constants in the Enum class// Define the label corresponding to the enumeration value. example: return [value => label];
-
options()
Returns all possible options as an array