123456789101112131415161718192021222324252627282930 |
- <?php
- namespace OSS\Result;
- use OSS\Core\OssException;
- class GetLocationResult extends Result
- {
-
- protected function parseDataFromResponse()
- {
- $content = $this->rawResponse->body;
- if (empty($content)) {
- throw new OssException("body is null");
- }
- $xml = simplexml_load_string($content);
- return $xml;
- }
- }
|