You are here

public function StaticReflectionParser::getUseStatements in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_annotation_discovery/lib/Doctrine/common/lib/Doctrine/Common/Reflection/StaticReflectionParser.php \Doctrine\Common\Reflection\StaticReflectionParser::getUseStatements()

Gets the use statements from this file.

Return value

array

File

modules/providers/service_container_annotation_discovery/lib/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;
}