ReflectionClass::hasAttribute

final public function hasAttribute(
  string $name,
): bool;

Parameters

  • string $name

Returns

  • bool