You are here

protected function StaticReflectionParser::getParentStaticReflectionParser in Plug 7

Return value

StaticReflectionParser

File

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