function StaticReflectionParser::getReflectionClass

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php \Drupal\Component\Annotation\Doctrine\StaticReflectionParser::getReflectionClass()
  2. 10 core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php \Drupal\Component\Annotation\Doctrine\StaticReflectionParser::getReflectionClass()

Gets the ReflectionClass equivalent for this class.

Return value

ReflectionClass

File

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

Class

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

Namespace

Drupal\Component\Annotation\Doctrine

Code

public function getReflectionClass() {
    return new StaticReflectionClass($this);
}

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