The ReflectionEnum class
(PHP 8 >= 8.1.0)
Einführung
The ReflectionEnum class reports information about an Enum.
Klassenbeschreibung
Inhaltsverzeichnis
- ReflectionEnum::__construct — Instantiates a ReflectionEnum object
- ReflectionEnum::getBackingType — Gets the backing type of an Enum, if any
- ReflectionEnum::getCase — Returns a specific case of an Enum
- ReflectionEnum::getCases — Returns a list of all cases on an Enum
- ReflectionEnum::hasCase — Checks for a case on an Enum
- ReflectionEnum::isBacked — Determines if an Enum is a Backed Enum