public function __construct(ReflectionClass $class, SimpleAnnotationReader $reader) { $this->class = $reader->getClassAnnotations($class); $this->method = $this->getMethodAnnotations($class, $reader); }