26 lines
437 B
PHP
Executable File
26 lines
437 B
PHP
Executable File
<?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;
|
|
}
|
|
} |