File: /www/wwwroot/bs.kntsleep.com/system/extend/oss_aliyun/OSS/Result/GetBucketEncryptionResult.php
<?php
namespace OSS\Result;
use OSS\Model\ServerSideEncryptionConfig;
/**
* Class GetBucketEncryptionResult
* @package OSS\Result
*/
class GetBucketEncryptionResult extends Result
{
/**
* Parse the ServerSideEncryptionConfig object from the response
*
* @return ServerSideEncryptionConfig
*/
protected function parseDataFromResponse()
{
$content = $this->rawResponse->body;
$config = new ServerSideEncryptionConfig();
$config->parseFromXml($content);
return $config;
}
}