protected function StaticReflectionParser::getParentStaticReflectionParser

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Reflection/StaticReflectionParser.php, line 195

Class

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

Namespace

Doctrine\Common\Reflection

Code

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