BatchEmbedderRequests
in package
FinalYes
Tags
Table of Contents
Properties
- $failed : int
- $lastError : string|null
- $total : int
Methods
- __construct() : mixed
- fromArray() : self
- getFailed() : int
- getLastError() : non-empty-string|null
- getTotal() : int
Properties
$failed read-only
private
int
$failed
$lastError read-only
private
string|null
$lastError
= null
$total read-only
private
int
$total
Methods
__construct()
public
__construct(int $total, int $failed[, non-empty-string|null $lastError = null ]) : mixed
Parameters
- $total : int
- $failed : int
- $lastError : non-empty-string|null = null
fromArray()
public
static fromArray(RawBatchEmbedderRequests $data) : self
Parameters
- $data : RawBatchEmbedderRequests
Return values
selfgetFailed()
public
getFailed() : int
Return values
intgetLastError()
public
getLastError() : non-empty-string|null
Return values
non-empty-string|nullgetTotal()
public
getTotal() : int