function StaticReflectionClass::hasClassAttribute
Determines if the class has the provided class attribute.
Parameters
string $attribute The attribute to check for.:
Return value
bool
File
- 
              core/lib/ Drupal/ Component/ Annotation/ Doctrine/ StaticReflectionClass.php, line 86 
Class
Namespace
Drupal\Component\Annotation\DoctrineCode
public function hasClassAttribute(string $attribute) {
  return $this->staticReflectionParser
    ->hasClassAttribute($attribute);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
