You are here

public function StaticReflectionParser::getReflectionProperty in Service Container 7

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

Gets the ReflectionProperty equivalent for this class.

Parameters

string $name:

Return value

\ReflectionProperty

Overrides ReflectionProviderInterface::getReflectionProperty

File

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

Class

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

Namespace

Doctrine\Common\Reflection

Code

public function getReflectionProperty($propertyName) {
  return new StaticReflectionProperty($this, $propertyName);
}