ReflectionClass::isEnum

Returns whether this ReflectionClass represents an enum

public function isEnum(): bool;

Returns

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