Skip to content

Core\Reflect\EnumInfo

One enum, as Core\Reflect\EnumInfo::of returns it for the enum's name. cases lists the names of its cases, valueOf returns the value of one case, and isUnsigned says whether the values are uint or int.

Members

5 members.

MemberSignature
ofof(string $name): ?Core\Reflect\EnumInfo
namename(): string
casescases(): array<string>
valueOfvalueOf(string $case): int|uint
isUnsignedisUnsigned(): bool