SDK for PHP V3

TransferProgressSnapshot
in package

FinalYes

Table of Contents

Methods

__construct()  : mixed
getIdentifier()  : string
getReason()  : Throwable|string|null
getResponse()  : array<string|int, mixed>|null
getTotalBytes()  : int
getTransferredBytes()  : int
ratioTransferred()  : float

Methods

__construct()

public __construct(string $identifier, int $transferredBytes, int $totalBytes[, array<string|int, mixed>|null $response = null ][, Throwable|string|null $reason = null ]) : mixed
Parameters
$identifier : string
$transferredBytes : int
$totalBytes : int
$response : array<string|int, mixed>|null = null
$reason : Throwable|string|null = null

getIdentifier()

public getIdentifier() : string
Return values
string

getReason()

public getReason() : Throwable|string|null
Return values
Throwable|string|null

getResponse()

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

getTotalBytes()

public getTotalBytes() : int
Return values
int

getTransferredBytes()

public getTransferredBytes() : int
Return values
int

ratioTransferred()

public ratioTransferred() : float
Return values
float
<-- modeled_exceptions -->
On this page