phpday 2022

ReflectionEnum::__construct

(PHP 8 >= 8.1.0)

ReflectionEnum::__constructInstantiates a ReflectionEnum object

Description

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

Parameters

objectOrClass

An enum instance or a name.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top