GetLiveChannelStatusResult | Class Result, 操作结果类的基类,不同的请求在处理返回数据的时候有不同的逻辑, 具体的解析逻辑推迟到子类实现 |
<?php
namespace OSS\Result;
use OSS\Model\GetLiveChannelStatus;
class GetLiveChannelStatusResult extends Result
{
/**
* @return
*/
protected function parseDataFromResponse()
{
$content = $this->rawResponse->body;
$channelList = new GetLiveChannelStatus();
$channelList->parseFromXml($content);
return $channelList;
}
}