FacetSearchResult
in package
implements
Countable, IteratorAggregate
Tags
Table of Contents
Interfaces
- Countable
- IteratorAggregate
Properties
- $facetHits : array<int, array<string, mixed>>
- $facetQuery : string|null
- $processingTimeMs : int
Methods
- __construct() : mixed
- count() : int
- getFacetHits() : array<int, array<string|int, mixed>>
- getIterator() : ArrayIterator
- getProcessingTimeMs() : int
- toArray() : array<string|int, mixed>
- toJSON() : string
Properties
$facetHits
private
array<int, array<string, mixed>>
$facetHits
$facetQuery
private
string|null
$facetQuery
$processingTimeMs
private
int
$processingTimeMs
Methods
__construct()
public
__construct(array<string|int, mixed> $body) : mixed
Parameters
- $body : array<string|int, mixed>
count()
public
count() : int
Return values
intgetFacetHits()
public
getFacetHits() : array<int, array<string|int, mixed>>
Return values
array<int, array<string|int, mixed>>getIterator()
public
getIterator() : ArrayIterator
Return values
ArrayIteratorgetProcessingTimeMs()
public
getProcessingTimeMs() : int
Return values
inttoArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>toJSON()
public
toJSON() : string