public function restoreObject($bucket, $object, $options = NULL)
    {
        $this->precheckCommon($bucket, $object, $options);
        $options[self::OSS_BUCKET] = $bucket;
        $options[self::OSS_METHOD] = self::OSS_HTTP_POST;
        $options[self::OSS_OBJECT] = $object;
        $options[self::OSS_SUB_RESOURCE] = self::OSS_RESTORE;
        $response = $this->auth($options);
        $result = new PutSetDeleteResult($response);
        return $result->getData();
    }
public function restoreObject($bucket, $object, $options = NULL)
    {
        $this->precheckCommon($bucket, $object, $options);
        $options[self::OSS_BUCKET] = $bucket;
        $options[self::OSS_METHOD] = self::OSS_HTTP_POST;
        $options[self::OSS_OBJECT] = $object;
        $options[self::OSS_SUB_RESOURCE] = self::OSS_RESTORE;
        $response = $this->auth($options);
        $result = new PutSetDeleteResult($response);
        return $result->getData();
    }
public function restoreObject ( $ bucket , $ object , $ options = NULL ) { $ this -> precheckCommon ( $ bucket , $ object , $ options ) ; $ options [ self :: OSS_BUCKET ] = $ bucket ; $ options [ self :: OSS_METHOD ] = self :: OSS_HTTP_POST ; $ options [ self :: OSS_OBJECT ] = $ object ; $ options [ self :: OSS_SUB_RESOURCE ] = self :: OSS_RESTORE ; $ response = $ this -> auth ( $ options ) ; $ result = new PutSetDeleteResult ( $ response ) ; return $ result -> getData ( ) ; }
Object reading for Archive type
Use Restore to enable the server to perform the thawing task

@param string $bucket bucket name
@param string $object object name
@return null
@throws OssException
Object reading for Archive type Use Restore to enable the server to perform the thawing task