12345678910111213141516171819 |
- <?php
- namespace OSS\Result;
- use OSS\Model\CnameConfig;
- class GetCnameResult extends Result
- {
- /**
- * @return CnameConfig
- */
- protected function parseDataFromResponse()
- {
- $content = $this->rawResponse->body;
- $config = new CnameConfig();
- $config->parseFromXml($content);
- return $config;
- }
- }
|