You are here

protected function StaticReflectionParser::getParentStaticReflectionParser in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_annotation_discovery/lib/Doctrine/common/lib/Doctrine/Common/Reflection/StaticReflectionParser.php \Doctrine\Common\Reflection\StaticReflectionParser::getParentStaticReflectionParser()

Return value

StaticReflectionParser

File

modules/providers/service_container_annotation_discovery/lib/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;
}