ReflectionEnum::__construct
(PHP 8 >= 8.1.0)
ReflectionEnum::__construct — Instantiates a ReflectionEnum object
Description
public
ReflectionEnum::__construct(
object|string
$objectOrClass
)
Parameters
-
objectOrClass
-
An enum instance or a name.
© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionenum.construct.php