更新
This commit is contained in:
26
vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketStatResult.php
vendored
Normal file
26
vendor/aliyuncs/oss-sdk-php/src/OSS/Result/GetBucketStatResult.php
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace OSS\Result;
|
||||
|
||||
|
||||
use OSS\Model\BucketStat;
|
||||
|
||||
/**
|
||||
* Class GetRefererResult
|
||||
* @package OSS\Result
|
||||
*/
|
||||
class GetBucketStatResult extends Result
|
||||
{
|
||||
/**
|
||||
* Parse bucket stat data
|
||||
*
|
||||
* @return BucketStat
|
||||
*/
|
||||
protected function parseDataFromResponse()
|
||||
{
|
||||
$content = $this->rawResponse->body;
|
||||
$stat = new BucketStat();
|
||||
$stat->parseFromXml($content);
|
||||
return $stat;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user