public function getPath($key, $isFlushable)
    {
        $cmd = $this->client->getCommand('GetObject', [
            'Bucket' => $this->bucket,
            'Key' => $key,
        ]);

        $request = $this->client->createPresignedRequest($cmd, '+20 minutes');

        return (string) $request->getUri();
    }
public function getPath($key, $isFlushable)
    {
        $cmd = $this->client->getCommand('GetObject', [
            'Bucket' => $this->bucket,
            'Key' => $key,
        ]);

        $request = $this->client->createPresignedRequest($cmd, '+20 minutes');

        return (string) $request->getUri();
    }
public function getPath ( $ key , $ isFlushable ) { $ cmd = $ this -> client -> getCommand ( 'GetObject' , [ 'Bucket' => $ this -> bucket , 'Key' => $ key , ] ) ; $ request = $ this -> client -> createPresignedRequest ( $ cmd , '+20 minutes' ) ; return ( string ) $ request -> getUri ( ) ; }
Return the base path.

@param string $key         The key for this item.
@param bool   $isFlushable Whether or not this is flushable.

@return string
Return the base path .