Methods |
final
public
static
|
fromName(string $name)
Get the value of a public constant from its name
Get the value of a public constant from its name
Implements
|
#
|
final
public
static
|
fromNames(array $names): array
Get the values of public constants from their names
Get the values of public constants from their names
Implements
|
#
|
final
public
static
|
toName($value): string
Get the name of a public constant from its value
Get the name of a public constant from its value
Implements
|
#
|
final
public
static
|
toNames(array $values): array
Get the names of public constants from their values
Get the names of public constants from their values
Implements
|
#
|
final
public
static
|
cases(): array
Get an array that maps public constant names to values
Get an array that maps public constant names to values
Overrides
Implements
|
#
|
final
public
static
|
hasValue($value): bool
Check if the class has a public constant with the given value
Check if the class has a public constant with the given value
Overrides
Implements
|
#
|