src/Server/AmazonServer.php
protected function buildUri(BucketInterface $bucket, string $name): UriInterface
    {
        return new Uri(
            $this->options['server'] . '/' . $bucket->getOption('bucket') . '/' . rawurlencode($name)
        );
    }
protected function buildUri(BucketInterface $bucket, string $name): UriInterface
    {
        return new Uri(
            $this->options['server'] . '/' . $bucket->getOption('bucket') . '/' . rawurlencode($name)
        );
    }
protected function buildUri ( BucketInterface $ bucket , string $ name ) : UriInterface { return new Uri ( $ this -> options [ 'server' ] . '/' . $ bucket -> getOption ( 'bucket' ) . '/' . rawurlencode ( $ name ) ) ; }
Create instance of UriInterface based on provided bucket options and storage object name.

@param BucketInterface $bucket
@param string          $name

@return UriInterface
Create instance of UriInterface based on provided bucket options and storage object name .