Method |
Description |
|
__callStatic ( string $method, array $args ) : static |
Get an enumerator instance by the given name. |
|
__sleep ( ) |
|
|
__toString ( ) : string |
Get the name of the enumerator |
|
__wakeup ( ) |
|
|
clear ( ) : void |
Clear all instantiated enumerators of the called class |
|
get ( static | null | boolean | integer | float | string $value ) : static |
Get an enumerator instance of the given value or instance |
|
getByName ( string $name ) : static |
Get an enumerator instance by the given name |
|
getByOrdinal ( integer $ordinal ) : static |
Get an enumeration instance by the given ordinal number |
|
getConstants ( ) : array |
Get all available constants of the called class |
|
getEnumerators ( ) : static[] |
Get a list of enumerator instances ordered by ordinal number |
|
getName ( ) : string |
Get the name of the enumerator |
|
getOrdinal ( ) : integer |
Get the ordinal number of the enumerator |
|
getValue ( ) : null | boolean | integer | float | string |
Get the value of the enumerator |
|
has ( static | null | boolean | integer | float | string $value ) : boolean |
Is the given enumerator part of this enumeration |
|
is ( mixed $enumerator ) : boolean |
Compare this enumerator against another and check if it's the same. |
|