(PHP 8 >= 8.1.0)
The ReflectionEnum class reports information about an Enum.
$objectOrClass
$name
$argument
$return
false
null
$flags
$filter
$object
&$def_value
$interface
$class
...$args
$args
$initializer
$options
$factory
$value