PHP 8.4.2 Released!

ReflectionEnumUnitCase::getEnum

(PHP 8 >= 8.1.0)

ReflectionEnumUnitCase::getEnumGets the reflection of the enum of this case

Description

public ReflectionEnumUnitCase::getEnum(): ReflectionEnum

Gets the reflection of the enum of this case.

Parameters

This function has no parameters.

Return Values

A ReflectionEnum instance describing the Enum this case belongs to.

See Also

add a note

User Contributed Notes

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