ReflectionEnum::hasCaseChecks for a case on an Enum Description
public bool ReflectionEnum::hasCase(string
$name )Determines if a given case is defined on an Enum. Parameters
Return Values
Examples
Example #1 ReflectionEnum::hasCase example
The above example will output: bool(true) bool(false) |