Meilisearch PHP | Documentation

UpdateDynamicSearchRuleQuery
in package

FinalYes
Tags
phpstan-import-type

SearchRuleAction from DynamicSearchRule

phpstan-import-type

SearchRuleCondition from DynamicSearchRule

Table of Contents

Properties

$uid  : string
$actions  : array<int, SearchRuleAction>|null
$active  : bool|null
$conditions  : array<int, SearchRuleCondition>|null
$description  : string|null
$hasActions  : bool
$hasActive  : bool
$hasConditions  : bool
$hasDescription  : bool
$hasPriority  : bool
$priority  : int|null

Methods

__construct()  : mixed
setActions()  : $this
setActive()  : $this
setConditions()  : $this
setDescription()  : $this
setPriority()  : $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(array<int, SearchRuleCondition>|null $conditions) : $this
Parameters
$conditions : array<int, SearchRuleCondition>|null
Return values
$this

setDescription()

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

        
On this page

Search results