Beispiel #1
0
 /**
  * Constructs Event object
  *
  * @param CurlRequest $request
  * @param Error $error
  * @param CurlResponse $response
  */
 public function __construct(CurlRequest $request, Error $error, $response = null)
 {
     parent::__construct($request);
     $this->error = $error;
     $this->response = $response;
 }
Beispiel #2
0
 /**
  * Constructs Event object
  *
  * @param CurlRequest $request
  * @param CurlResponse $response
  */
 public function __construct(CurlRequest $request, CurlResponse $response)
 {
     parent::__construct($request);
     $this->response = $response;
 }