Meilisearch PHP | Documentation

IndexCreationDetails
in package
implements TaskDetails

FinalYes
Tags
implements

Table of Contents

Interfaces

TaskDetails

Properties

$primaryKey  : string|null

Methods

__construct()  : mixed
fromArray()  : self

Properties

Methods

__construct()

public __construct(non-empty-string|null $primaryKey) : mixed
Parameters
$primaryKey : non-empty-string|null

Value of the primaryKey field supplied during index creation. null if it was not specified.

fromArray()

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

        
On this page

Search results