ReflectionClass::isEnum

Description

public function isEnum(): bool

Returns whether this ReflectionClass represents an enum.

Return Values

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