function StaticReflectionClass::getUseStatements

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

Return value

string[]

File

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

Class

StaticReflectionClass

Namespace

Drupal\Component\Annotation\Doctrine

Code

public function getUseStatements() {
    return $this->staticReflectionParser
        ->getUseStatements();
}

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