public function getClient()
    {
        return new S3Client([
            'version' => $this->apiVersion,
            'region' => $this->region,
            'credentials' => [
                'key'    => $this->key,
                'secret' => $this->secret,
            ]
        ]);
    }
public function getClient()
    {
        return new S3Client([
            'version' => $this->apiVersion,
            'region' => $this->region,
            'credentials' => [
                'key'    => $this->key,
                'secret' => $this->secret,
            ]
        ]);
    }
public function getClient ( ) { return new S3Client ( [ 'version' => $ this -> apiVersion , 'region' => $ this -> region , 'credentials' => [ 'key' => $ this -> key , 'secret' => $ this -> secret , ] ] ) ; }
Creates a s3 client

@return S3Client
Creates a s3 client