Meilisearch PHP | Documentation

BatchEmbedderRequests
in package

FinalYes
Tags
phpstan-type

RawBatchEmbedderRequests array{ total: non-negative-int, failed: non-negative-int, lastError?: non-empty-string|null }

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

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
self

getLastError()

public getLastError() : non-empty-string|null
Return values
non-empty-string|null
On this page

Search results