The ReflectionEnumBackedCase class

(PHP 8 >= 8.1.0)


The ReflectionEnumBackedCase class reports information about an Enum backed case, which has a scalar equivalent.

Sommario della classe

class ReflectionEnumBackedCase extends ReflectionEnumUnitCase {
/* Costanti ereditate */
/* Proprietà ereditate */
public string $name;
public string $class;
/* Metodi */
public __construct(object|string $class, string $constant)
public getBackingValue(): int|string
/* Metodi ereditati */
public static ReflectionClassConstant::export(mixed $class, string $name, bool $return = ?): string
public ReflectionClassConstant::getAttributes(?string $name = null, int $flags = 0): array

Indice dei contenuti

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top