PutLiveChannelResult.php 321 B

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