You are here

public function StaticReflectionParser::getUseStatements in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Reflection/StaticReflectionParser.php \Doctrine\Common\Reflection\StaticReflectionParser::getUseStatements()

Gets the use statements from this file.

Return value

array

File

vendor/doctrine/common/lib/Doctrine/Common/Reflection/StaticReflectionParser.php, line 264

Class

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

Namespace

Doctrine\Common\Reflection

Code

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