Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. StaticReflectionParser.php

function StaticReflectionParser::getParentStaticReflectionParser

Return value

StaticReflectionParser

File

core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php, line 266

Class

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

Namespace

Drupal\Component\Annotation\Doctrine

Code

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