/** * Constructor * * @param IReflectionMethod $method */ public function __construct(IReflectionMethod $method) { parent::__construct($method); $methodName = $this->reflection->getName(); $reader = new AnnotationReader(); $this->doctrineAnnotations = $reader->getMethodAnnotations(new \ReflectionMethod($this->reflection->getDeclaringClassName(), $methodName)); list($this->name, $this->httpMethod) = $this->processMethodName($methodName); $this->processAnnotations(); }
public function __construct(ReflectionNamespace $namespace) { parent::__construct($namespace); }
function __construct(IReflectionClass $reflection) { parent::__construct($reflection); $reader = new AnnotationReader(); $this->doctrineAnnotations = $reader->getClassAnnotations(new \ReflectionClass($this->reflection->getName())); }
public function __construct(IReflectionConstant $constant) { parent::__construct($constant); }