Documentation

UploadPartInterface extends Serializable

An object that encapsulates the data for an upload part

Table of Contents

Methods

fromArray()  : self
Create an upload part from an array
getPartNumber()  : int
Returns the part number of the upload part which is used as an identifier
toArray()  : array<string|int, mixed>
Returns the array form of the upload part

Methods

fromArray()

Create an upload part from an array

public static fromArray(array<string|int, mixed>|Traversable $data) : self
Parameters
$data : array<string|int, mixed>|Traversable

Data representing the upload part

Return values
self

getPartNumber()

Returns the part number of the upload part which is used as an identifier

public getPartNumber() : int
Return values
int

toArray()

Returns the array form of the upload part

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results