Gaufrette\Adapter\AwsS3::getOptions PHP Method

getOptions() protected method

protected getOptions ( $key, array $options = [] )
$options array
    protected function getOptions($key, array $options = array())
    {
        $options['ACL'] = $this->options['acl'];
        $options['Bucket'] = $this->bucket;
        $options['Key'] = $this->computePath($key);
        /*
         * Merge global options for adapter, which are set in the constructor, with metadata.
         * Metadata will override global options.
         */
        $options = array_merge($this->options, $options, $this->getMetadata($key));
        return $options;
    }