-
Notifications
You must be signed in to change notification settings - Fork 0
EnumHelper
github-actions edited this page Apr 24, 2026
·
1 revision
- Full name:
\FastForward\Enum\Helper\EnumHelper - This class is marked as final and can't be subclassed
- This class is a Final class
public static cases(class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T $enum): list<\FastForward\Enum\Helper\T>- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$enum |
class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T |
public static names(class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T $enum): list<string>- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$enum |
class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T |
public static values(class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T $enum): list<int|string>- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$enum |
class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T |
public static nameMap(class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T $enum): array<string,\FastForward\Enum\Helper\T>- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$enum |
class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T |
public static valueMap(class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T $enum): array<int|string,\FastForward\Enum\Helper\T>- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$enum |
class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T |
public static options(class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T $enum): array<string,int|string>- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$enum |
class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T |
public static hasName(class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T $enum, string $name): bool- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$enum |
class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T | |
$name |
string |
public static hasValue(class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T $enum, int|string $value): bool- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$enum |
class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T | |
$value |
int|string |
public static tryFromName(class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T $enum, string $name): \FastForward\Enum\Helper\T|null- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$enum |
class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T | |
$name |
string |
public static fromName(class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T $enum, string $name): \FastForward\Enum\Helper\T- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$enum |
class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T | |
$name |
string |
public static labels(class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T $enum): list<string>- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$enum |
class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T |
public static labelMap(class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T $enum): array<string,string>- This method is static. Parameters:
| Parameter | Type | Description |
|---|---|---|
$enum |
class-string<\FastForward\Enum\Helper\T>|\FastForward\Enum\Helper\T |