function StaticReflectionParser::getMethodAttributes

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php \Drupal\Component\Annotation\Doctrine\StaticReflectionParser::getMethodAttributes()

File

core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php, line 327

Class

StaticReflectionParser
Parses a file for namespaces/use/class declarations.

Namespace

Drupal\Component\Annotation\Doctrine

Code

public function getMethodAttributes() : array {
  $this->parse();
  return $this->methodAttributes;
}

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