Meilisearch PHP | Documentation

BatchesResults extends Data
in package

FinalYes
Tags
phpstan-import-type

RawBatch from Batch

Table of Contents

Properties

$data  : array<string|int, mixed>
$from  : int|null
$limit  : int
$next  : int|null
$total  : int

Methods

__construct()  : mixed
count()  : int
getFrom()  : int|null
getIterator()  : ArrayIterator
getLimit()  : int
getNext()  : int|null
getResults()  : array<int, Batch>
getTotal()  : int
toArray()  : array<string|int, mixed>

Properties

$data

protected array<string|int, mixed> $data = []

Methods

__construct()

public __construct(array<string|int, mixed> $params) : mixed
Parameters
$params : array<string|int, mixed>

getIterator()

public getIterator() : ArrayIterator
Return values
ArrayIterator

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
On this page

Search results