function StaticReflectionClass::getNamespaceName

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

File

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

Class

StaticReflectionClass

Namespace

Drupal\Component\Annotation\Doctrine

Code

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

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