GetLiveChannelInfoResult.php 374 B

12345678910111213141516171819
  1. <?php
  2. namespace OSS\Result;
  3. use OSS\Model\GetLiveChannelInfo;
  4. class GetLiveChannelInfoResult extends Result
  5. {
  6. /**
  7. * @return
  8. */
  9. protected function parseDataFromResponse()
  10. {
  11. $content = $this->rawResponse->body;
  12. $channelList = new GetLiveChannelInfo();
  13. $channelList->parseFromXml($content);
  14. return $channelList;
  15. }
  16. }