protected function StaticReflectionParser::getParentStaticReflectionParser in Drupal 10
Same name and namespace in other branches
- 9 core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php \Drupal\Component\Annotation\Doctrine\StaticReflectionParser::getParentStaticReflectionParser()
Return value
1 call to StaticReflectionParser::getParentStaticReflectionParser()
- StaticReflectionParser::getStaticReflectionParserForDeclaringClass in core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ StaticReflectionParser.php - Gets the PSR-0 parser for the declaring class.
File
- core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ StaticReflectionParser.php, line 261 - This class is a near-copy of Doctrine\Common\Reflection\StaticReflectionParser, which is part of the Doctrine project: <http://www.doctrine-project.org>. It was copied from version 1.2.2.
Class
- StaticReflectionParser
- Parses a file for namespaces/use/class declarations.
Namespace
Drupal\Component\Annotation\DoctrineCode
protected function getParentStaticReflectionParser() {
if (empty($this->parentStaticReflectionParser)) {
$this->parentStaticReflectionParser = new static($this->parentClassName, $this->finder);
}
return $this->parentStaticReflectionParser;
}