SDK for PHP 3.x

MultipartUploadingTrait

Table of Contents

Methods

getStateFromService()  : UploadState
Creates an UploadState object for a multipart upload by querying the service for the specified upload's information.

Methods

getStateFromService()

Creates an UploadState object for a multipart upload by querying the service for the specified upload's information.

public static getStateFromService(S3ClientInterface $client, string $bucket, string $key, string $uploadId) : UploadState
Parameters
$client : S3ClientInterface

S3Client used for the upload.

$bucket : string

Bucket for the multipart upload.

$key : string

Object key for the multipart upload.

$uploadId : string

Upload ID for the multipart upload.

Return values
UploadState
On this page