You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
482 B
23 lines
482 B
<?php
|
|
|
|
namespace OSS\Result;
|
|
|
|
|
|
/**
|
|
* Class HeaderResult
|
|
* @package OSS\Result
|
|
* @link https://docs.aliyun.com/?spm=5176.383663.13.7.HgUIqL#/pub/oss/api-reference/object&GetObjectMeta
|
|
*/
|
|
class HeaderResult extends Result
|
|
{
|
|
/**
|
|
* 把返回的ResponseCore中的header作为返回数据
|
|
*
|
|
* @return array
|
|
*/
|
|
protected function parseDataFromResponse()
|
|
{
|
|
return empty($this->rawResponse->header) ? array() : $this->rawResponse->header;
|
|
}
|
|
|
|
} |