function StaticReflectionParser::getUseStatements
Same name in other branches
- 9 core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php \Drupal\Component\Annotation\Doctrine\StaticReflectionParser::getUseStatements()
- 10 core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionParser.php \Drupal\Component\Annotation\Doctrine\StaticReflectionParser::getUseStatements()
Gets the use statements from this file.
Return value
string[]
File
-
core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ StaticReflectionParser.php, line 295
Class
- StaticReflectionParser
- Parses a file for namespaces/use/class declarations.
Namespace
Drupal\Component\Annotation\DoctrineCode
public function getUseStatements() {
$this->parse();
return $this->useStatements;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.