AggregationResultExtractor
AggregationResultExtractor.php
:
14
Methods¶
extract() ¶
AggregationResultExtractor.php
:
26
Transforms raw aggregation result into \Ibexa\Contracts\Core\Repository\Values\Content\Search\AggregationResult object.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$aggregation | Aggregation | - | - |
$languageFilter | LanguageFilter | - | - |
$data | array<string|int, mixed> | - |
Raw aggregation data |
Return values
supports() ¶
AggregationResultExtractor.php
:
19
Returns true if extractor supports given aggregation.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$aggregation | Aggregation | - | - |
$languageFilter | LanguageFilter | - | - |
Return values
bool