Dutch PHP Conference 2026 - Call For Papers

ReflectionEnumUnitCase::__construct

(PHP 8 >= 8.1.0)

ReflectionEnumUnitCase::__constructInstantiates a ReflectionEnumUnitCase object

Description

public ReflectionEnumUnitCase::__construct(object |string $class, string $constant)

Parameters

class

An enum instance or a name.

constant

An enum constant name.

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /