예제 #1
0
 /**
  * @param RequestException           $exception
  * @param MethodDescriptionInterface $methodDescription
  * @param array                      $options
  */
 public function __construct(RequestException $exception, MethodDescriptionInterface $methodDescription, array $options)
 {
     $this->exception = $exception;
     $this->methodDescription = $methodDescription;
     $this->options = $options;
     parent::__construct($methodDescription, $options);
 }
예제 #2
0
 public function __construct(RequestInterface $request, MethodDescriptionInterface $methodDescription, array $options = [])
 {
     $this->request = $request;
     $this->methodDescription = $methodDescription;
     $this->options = $options;
     parent::__construct($methodDescription, $options);
 }
예제 #3
0
 /**
  * @param RequestInterface $request
  * @param ResponseInterface $response
  * @param MethodDescriptionInterface $methodDescription
  * @param array $options
  */
 public function __construct(RequestInterface $request, ResponseInterface $response, MethodDescriptionInterface $methodDescription, array $options = [])
 {
     $this->request = $request;
     $this->response = $response;
     parent::__construct($methodDescription, $options);
 }