Meilisearch PHP | Documentation

FederationOptions
in package

Table of Contents

Properties

$remote  : non-empty-string|null
$weight  : float|null

Methods

setRemote()  : $this
setWeight()  : $this
toArray()  : array{weight?: float, remote?: non-empty-string}

Properties

Methods

setRemote()

public setRemote(non-empty-string $remote) : $this
Parameters
$remote : non-empty-string
Return values
$this

setWeight()

public setWeight(float $weight) : $this
Parameters
$weight : float
Return values
$this

toArray()

public toArray() : array{weight?: float, remote?: non-empty-string}
Return values
array{weight?: float, remote?: non-empty-string}

        
On this page

Search results