| 1234567891011121314151617181920212223242526 | 
							- <?php
 
- namespace OSS\Result;
 
- use OSS\Model\WormConfig;
 
- /**
 
-  * Class GetBucketWormResult
 
-  * @package OSS\Result
 
-  */
 
- class GetBucketWormResult extends Result
 
- {
 
-     /**
 
-      * Parse bucket stat data
 
-      *
 
-      * @return WormConfig
 
-      */
 
-     protected function parseDataFromResponse()
 
-     {
 
-         $content = $this->rawResponse->body;
 
-         $config = new WormConfig();
 
-         $config->parseFromXml($content);
 
-         return $config;
 
-     }
 
- }
 
 
  |