protected function getOptions(array $options = [], Config $config = null)
    {
        $options = array_merge($this->options, $options);

        if ($config) {
            $options = array_merge($options, $this->getOptionsFromConfig($config));
        }

        return array(OssClient::OSS_HEADERS => $options);
    }
protected function getOptions(array $options = [], Config $config = null)
    {
        $options = array_merge($this->options, $options);

        if ($config) {
            $options = array_merge($options, $this->getOptionsFromConfig($config));
        }

        return array(OssClient::OSS_HEADERS => $options);
    }
protected function getOptions ( array $ options = [ ] , Config $ config = null ) { $ options = array_merge ( $ this -> options , $ options ) ; if ( $ config ) { $ options = array_merge ( $ options , $ this -> getOptionsFromConfig ( $ config ) ) ; } return array ( OssClient :: OSS_HEADERS => $ options ) ; }
Get options for a OSS call. done

@param array  $options

@return array OSS options
Get options for a OSS call . done