Exemplo n.º 1
0
 /**
  * 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();
 }