ListLiveChannelResult.php 342 B

12345678910111213141516
  1. <?php
  2. namespace OSS\Result;
  3. use OSS\Model\LiveChannelListInfo;
  4. class ListLiveChannelResult extends Result
  5. {
  6. protected function parseDataFromResponse()
  7. {
  8. $content = $this->rawResponse->body;
  9. $channelList = new LiveChannelListInfo();
  10. $channelList->parseFromXml($content);
  11. return $channelList;
  12. }
  13. }