You are here

protected function StaticReflectionParser::getParentStaticReflectionParser in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/lib/Doctrine/Common/Reflection/StaticReflectionParser.php \Doctrine\Common\Reflection\StaticReflectionParser::getParentStaticReflectionParser()

Return value

StaticReflectionParser

File

vendor/doctrine/common/lib/Doctrine/Common/Reflection/StaticReflectionParser.php, line 210

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;
}