ReflectionEnumUnitCase::getValueGets the enum case object described by this reflection object Description
public UnitEnum ReflectionEnumUnitCase::getValue()
Returns the enum case object described by this reflection object. ParametersThis function has no parameters. Return ValuesThe enum case object described by this reflection object. Examples
Example #1 ReflectionEnum::getValue example
The above example will output: enum(Suit::Diamonds) |