<TValue>
extends |
EnumerationInterface<TValue> |
---|
Has public constants with unique values of a given type, and maps them to and from their names
Methods | ||
---|---|---|
public
static
|
fromName(string $name): TValue
|
# |
public
static
|
fromNames(string[] $index): TValue[]
|
# |
public
static
|
toName(TValue $value): string
|
# |
public
static
|
toNames(TValue[] $values): string[]
|
# |
Methods inherited from Salient\Contract\Core\EnumerationInterface |
---|
cases(), hasValue() |