ReflectionEnum::__construct

(PHP 8 >= 8.1.0)

ReflectionEnum::__constructInstantiates a ReflectionEnum object

说明

public ReflectionEnum::__construct(object|string $objectOrClass)

参数

objectOrClass

An enum instance or a name.