ReflectionClass::isEnum

Returns whether this ReflectionClass represents an enum

public function isEnum(): bool;

Return Values

  • bool - Returns TRUE if this is an enum, FALSE otherwise.