Meilisearch PHP | Documentation

TaskImportData
in package

FinalYes
Tags
phpstan-type

RawTaskImportData array{ remoteName: non-empty-string, indexName?: non-empty-string|null, documentCount: non-negative-int }

since

Meilisearch v1.19.0

Table of Contents

Properties

$documentCount  : int
$indexName  : string|null
$remoteName  : string

Methods

__construct()  : mixed
fromArray()  : self

Properties

Methods

__construct()

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

fromArray()

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

Search results