The ReflectionEnumUnitCase class
(PHP 8 >= 8.1.0)
Introduction
The ReflectionEnumUnitCase class reports information about an Enum unit case, which has no scalar equivalent.
Class synopsis
Table of Contents
- ReflectionEnumUnitCase::__construct — Instantiates a ReflectionEnumUnitCase object
- ReflectionEnumUnitCase::getEnum — Gets the reflection of the enum of this case
- ReflectionEnumUnitCase::getValue — Gets the enum case object described by this reflection object