GetLiveChannelHistoryResult.php 383 B

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