function StaticReflectionClass::getName

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php \Drupal\Component\Annotation\Doctrine\StaticReflectionClass::getName()
  2. 10 core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php \Drupal\Component\Annotation\Doctrine\StaticReflectionClass::getName()

File

core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php, line 50

Class

StaticReflectionClass

Namespace

Drupal\Component\Annotation\Doctrine

Code

public function getName() : string {
    return $this->staticReflectionParser
        ->getClassName();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.