data = $data; } /** * 获取XML数据 * * @return string */ public function getXml() { return '' . base64_encode($this->data) . ''; } }