You are here

public function StaticReflectionParser::getReflectionClass 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::getReflectionClass()

Gets the ReflectionClass equivalent for this class.

Return value

\ReflectionClass

Overrides ReflectionProviderInterface::getReflectionClass

File

modules/providers/service_container_annotation_discovery/lib/Doctrine/common/lib/Doctrine/Common/Reflection/StaticReflectionParser.php, line 238

Class

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

Namespace

Doctrine\Common\Reflection

Code

public function getReflectionClass() {
  return new StaticReflectionClass($this);
}