/** * @return string */ public function toXml() { return sprintf('<error type="%s">%s</error>', Utils::encodeXml($this->getType()), Utils::cdata($this->getMessage())); }
/** * @return string */ public function toXml() { return sprintf('<error type="%s">%s</error>', Utils::encodeXml($this->getType()), Utils::cdata($this->getMessage())); }