You are here

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

Gets the ReflectionMethod equivalent for this class.

Parameters

string $name:

Return value

\ReflectionMethod

Overrides ReflectionProviderInterface::getReflectionMethod

File

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

Class

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

Namespace

Doctrine\Common\Reflection

Code

public function getReflectionMethod($methodName) {
  return new StaticReflectionMethod($this, $methodName);
}