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
stringgetReason()
public
getReason() : Throwable|string|null
Return values
Throwable|string|nullgetResponse()
public
getResponse() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetTotalBytes()
public
getTotalBytes() : int
Return values
intgetTransferredBytes()
public
getTransferredBytes() : int
Return values
intratioTransferred()
public
ratioTransferred() : float