function StaticReflectionParser::getParentStaticReflectionParser

Same name in other branches
  1. 9 core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php \Drupal\Component\Annotation\Doctrine\StaticReflectionParser::getParentStaticReflectionParser()
  2. 11.x core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php \Drupal\Component\Annotation\Doctrine\StaticReflectionParser::getParentStaticReflectionParser()

Return value

StaticReflectionParser

File

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

Class

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

Namespace

Drupal\Component\Annotation\Doctrine

Code

protected function getParentStaticReflectionParser() {
    if (empty($this->parentStaticReflectionParser)) {
        $this->parentStaticReflectionParser = new static($this->parentClassName, $this->finder);
    }
    return $this->parentStaticReflectionParser;
}

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