Meilisearch PHP | Documentation

ChatWorkspacesResults extends Data
in package

Table of Contents

Properties

$data  : array<string|int, mixed>
$limit  : int
$offset  : int
$total  : int

Methods

__construct()  : mixed
count()  : int
getIterator()  : ArrayIterator
getLimit()  : int
getOffset()  : int
getResults()  : array<int, array{uid: string}>
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

getResults()

public getResults() : array<int, array{uid: string}>
Return values
array<int, array{uid: string}>

toArray()

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

Search results