function 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.