(PHP 8 >= 8.1.0)
ReflectionEnumUnitCase::getEnum — Gets the reflection of the enum of this case
public ReflectionEnumUnitCase::getEnum(): ReflectionEnum
Gets the reflection of the enum of this case.
This function has no parameters.
A ReflectionEnum instance describing the Enum this case belongs to.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionenumunitcase.getenum.php