public function __construct(Response $response) { $this->response = $response; // TODO: log this cleanly... var_dump($this->response); parent::__construct($response->getMessage(), $response->getStatusCode()); }
public function __construct(Response $response) { $this->response = $response; error_log(print_r($this->response, true)); parent::__construct($response->getMessage(), $response->getStatusCode()); }