Meilisearch PHP | Documentation

Network extends Endpoint
in package

Table of Contents

Constants

PATH  = '/network'

Properties

$apiKey  : string|null
$http  : Http

Methods

__construct()  : mixed
get()  : array{self: non-empty-string, remotes: array}
show()  : array<string|int, mixed>|null
update()  : array{self: non-empty-string, remotes: array}

Constants

PATH

protected mixed PATH = '/network'

Properties

Methods

__construct()

public __construct(Http $http[, string|null $apiKey = null ]) : mixed
Parameters
$http : Http
$apiKey : string|null = null

get()

public get() : array{self: non-empty-string, remotes: array}
Return values
array{self: non-empty-string, remotes: array}

show()

public show() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

update()

public update(array{self?: non-empty-string, remotes?: array$body) : array{self: non-empty-string, remotes: array}
Parameters
$body : array{self?: non-empty-string, remotes?: array}
Return values
array{self: non-empty-string, remotes: array}

        
On this page

Search results