Meilisearch PHP | Documentation

UpdateDynamicSearchRuleQuery
in package

FinalYes
Tags
phpstan-import-type

SearchRuleAction from DynamicSearchRule

SearchRuleConditions from DynamicSearchRule

Table of Contents

Properties

$uid  : string
$actions  : array<int, SearchRuleAction>|null
$active  : bool|null
$conditions  : SearchRuleConditions|null
$description  : string|null
$hasActions  : bool
$hasActive  : bool
$hasConditions  : bool
$hasDescription  : bool
$hasPrecedence  : bool
$precedence  : int|null

Methods

__construct()  : mixed
setActions()  : $this
setActive()  : $this
setConditions()  : $this
setDescription()  : $this
setPrecedence()  : $this
toArray()  : array<string|int, mixed>

Properties

Methods

setActions()

public setActions(array<int, SearchRuleAction>|null $actions) : $this
Parameters
$actions : array<int, SearchRuleAction>|null
Return values
$this

setConditions()

public setConditions(SearchRuleConditions|null $conditions) : $this
Parameters
$conditions : SearchRuleConditions|null
Return values
$this

setDescription()

public setDescription(string|null $description) : $this
Parameters
$description : string|null
Return values
$this

setPrecedence()

public setPrecedence(int|null $precedence) : $this
Parameters
$precedence : int|null
Return values
$this
On this page

Search results