function StaticReflectionClass::hasClassAttribute
Same name in other branches
- 11.x core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php \Drupal\Component\Annotation\Doctrine\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 89
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.