Пример #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();
 }
Пример #2
0
 public function __construct(ReflectionNamespace $namespace)
 {
     parent::__construct($namespace);
 }
Пример #3
0
 function __construct(IReflectionClass $reflection)
 {
     parent::__construct($reflection);
     $reader = new AnnotationReader();
     $this->doctrineAnnotations = $reader->getClassAnnotations(new \ReflectionClass($this->reflection->getName()));
 }
Пример #4
0
 public function __construct(IReflectionConstant $constant)
 {
     parent::__construct($constant);
 }