PHP - Manual: ReflectionEnumUnitCase::__construct
2024-12-22
(PHP 8 >= 8.1.0)
ReflectionEnumUnitCase::__construct — Instantiates a ReflectionEnumUnitCase object
$class
, string $constant
)class
An enum instance or a name.
constant
An enum constant name.
官方地址:https://www.php.net/manual/en/reflectionenumunitcase.construct.php