ReflectionEnum::hasCase Checks for a case on an Enum &reftitle.description; public boolReflectionEnum::hasCase stringname Determines if a given case is defined on an Enum. &reftitle.parameters; name The case to check for. &reftitle.returnvalues; &true; if the case is defined, &false; if not. &reftitle.examples; <methodname>ReflectionEnum::hasCase</methodname> example hasCase('Hearts')); var_dump($rEnum->hasCase('Horseshoes')); ?> ]]> &example.outputs; &reftitle.seealso; Enumerations ReflectionEnum::getCase ReflectionEnum::getCases