FacetSearchQuery
in package
Table of Contents
Properties
- $facetName : string|null
- $facetQuery : string|null
- $filter : array<string|int, mixed>|null
- $matchingStrategy : string|null
- $q : string|null
Methods
- setFacetName() : FacetSearchQuery
- setFacetQuery() : FacetSearchQuery
- setFilter() : FacetSearchQuery
- setMatchingStrategy() : FacetSearchQuery
- setQuery() : FacetSearchQuery
- toArray() : array<string|int, mixed>
Properties
$facetName
private
string|null
$facetName
= null
$facetQuery
private
string|null
$facetQuery
= null
$filter
private
array<string|int, mixed>|null
$filter
= null
$matchingStrategy
private
string|null
$matchingStrategy
= null
$q
private
string|null
$q
= null
Methods
setFacetName()
public
setFacetName(string $facetName) : FacetSearchQuery
Parameters
- $facetName : string
Return values
FacetSearchQuerysetFacetQuery()
public
setFacetQuery(string $facetQuery) : FacetSearchQuery
Parameters
- $facetQuery : string
Return values
FacetSearchQuerysetFilter()
public
setFilter(array<string|int, mixed> $filter) : FacetSearchQuery
Parameters
- $filter : array<string|int, mixed>
Return values
FacetSearchQuerysetMatchingStrategy()
public
setMatchingStrategy(string $matchingStrategy) : FacetSearchQuery
Parameters
- $matchingStrategy : string
Return values
FacetSearchQuerysetQuery()
public
setQuery(string $q) : FacetSearchQuery
Parameters
- $q : string
Return values
FacetSearchQuerytoArray()
public
toArray() : array<string|int, mixed>