The ReflectionEnum class
(PHP 8 >= 8.1.0)
Introduction
The ReflectionEnum class reports information about an Enum.
Class synopsis
/* Inherited constants */
/* Inherited properties */
/* Methods */
/* Inherited methods */
public ReflectionClass::resetAsLazyGhost(object
}$object, callable $initializer, int $options = 0): voidSee Also
Table of Contents
- 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
↑ and ↓ to navigate • Enter to select • Esc to close • / to open