1234567891011121314151617181920212223242526 |
- <?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;
- }
- }
|