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