$isOk
$isOk :
标示请求是否成功
Class Result, 操作结果类的基类,不同的请求在处理返回数据的时候有不同的逻辑, 具体的解析逻辑推迟到子类实现
$rawResponse : \OSS\Http\ResponseCore
存放auth函数返回的原始Response
getRawResponse() : \OSS\Http\ResponseCore
返回原始的返回数据
<?php
namespace OSS\Result;
use OSS\Core\OssException;
use OSS\OssClient;
/**
*
* @package OSS\Result
*/
class SymlinkResult extends Result
{
/**
* @return string
* @throws OssException
*/
protected function parseDataFromResponse()
{
$this->rawResponse->header[OssClient::OSS_SYMLINK_TARGET] = rawurldecode($this->rawResponse->header[OssClient::OSS_SYMLINK_TARGET]);
return $this->rawResponse->header;
}
}