UploadPartInterface
extends
Serializable
in
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
selfgetPartNumber()
Returns the part number of the upload part which is used as an identifier
public
getPartNumber() : int
Return values
inttoArray()
Returns the array form of the upload part
public
toArray() : array<string|int, mixed>