Meilisearch PHP | Documentation

RemoteTasksNetwork
in package
implements TaskNetwork

FinalYes
Tags
phpstan-import-type

RawRemoteTask from RemoteTask

phpstan-type

RawRemoteTasksNetwork array{ remote_tasks: array<non-empty-string, RawRemoteTask>, network_version?: non-empty-string }

implements
since

Meilisearch v1.19.0

Table of Contents

Interfaces

TaskNetwork

Properties

$networkVersion  : string|null
$remoteTasks  : array<string|int, mixed>

Methods

__construct()  : mixed
fromArray()  : self

Properties

Methods

__construct()

public __construct(array<non-empty-string, RemoteTask> $remoteTasks, non-empty-string|null $networkVersion) : mixed
Parameters
$remoteTasks : array<non-empty-string, RemoteTask>
$networkVersion : non-empty-string|null

fromArray()

public static fromArray(array<string|int, mixed> $data) : self
Parameters
$data : array<string|int, mixed>
Return values
self
On this page

Search results