ReflectionEnum::getBackingTypeGets the backing type of an Enum, if any Description
public ReflectionNamedTypenull ReflectionEnum::getBackingType()
If the enumeration is a Backed Enum, this method will return an instance
of ReflectionType for the backing type of the Enum.
If it is not a Backed Enum, it will return ParametersThis function has no parameters. Return Values
An instance of ReflectionNamedType, or Changelog
Examples
Example #1 ReflectionEnum::getBackingType example
The above example will output: string(6) "string" |