function StaticReflectionClass::getDocComment

Same name in other branches
  1. 9 core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php \Drupal\Component\Annotation\Doctrine\StaticReflectionClass::getDocComment()
  2. 10 core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php \Drupal\Component\Annotation\Doctrine\StaticReflectionClass::getDocComment()

File

core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php, line 58

Class

StaticReflectionClass

Namespace

Drupal\Component\Annotation\Doctrine

Code

public function getDocComment() : string|false {
    return $this->staticReflectionParser
        ->getDocComment();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.