Meilisearch PHP | Documentation

TaskOrigin
in package

FinalYes
Tags
phpstan-type

RawTaskOrigin array{ remoteName: non-empty-string, taskUid: non-negative-int, networkVersion?: non-empty-string }

since

Meilisearch v1.19.0

Table of Contents

Properties

$networkVersion  : string|null
$remoteName  : string
$taskUid  : int

Methods

__construct()  : mixed
fromArray()  : self

Properties

$networkVersion read-only

public string|null $networkVersion

Methods

__construct()

public __construct(non-empty-string $remoteName, int $taskUid, non-empty-string|null $networkVersion) : mixed
Parameters
$remoteName : non-empty-string
$taskUid : int
$networkVersion : non-empty-string|null

fromArray()

public static fromArray(RawTaskOrigin $data) : self
Parameters
$data : RawTaskOrigin
Return values
self
On this page

Search results