code = $code; $this->msg = $msg; $this->data = $data; } public function getCode(){ return $this->raw['code']; } public function getMsg(){ return $this->raw['msg']; } public function getData(){ return $this->raw['data']; } protected function setCode($v){ $this->raw['code'] = $v; } protected function setMsg($v){ $this->raw['msg'] = $v; } protected function setData($v){ $this->raw['data'] = $v; } }