/** * @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); }
public function __construct(RequestInterface $request, MethodDescriptionInterface $methodDescription, array $options = []) { $this->request = $request; $this->methodDescription = $methodDescription; $this->options = $options; parent::__construct($methodDescription, $options); }
/** * @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); }