headers = $config['headers']; } if (isset($config['body'])) { $this->body = $config['body']; } if (isset($config['code'])) { $this->code = $config['code']; } } /** * @return mixed */ public function getHeaders() { return $this->headers; } /** * @return mixed */ public function getBody() { return $this->body; } /** * @return mixed */ public function getCode() { return $this->code; } }