This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
BasePriceStatsAggregation¶
The BasePriceStatsAggregation aggregates search results by the value of the product's price cand provides statistical information for the values. You can use the provided getters to access the values:
- sum (
getSum()
) - count of values (
getCount()
) - minimum value (
getMin()
) - maximum value (
getMax()
) - average (
getAvg()
)
Arguments¶
name
- name of the Aggregation\Ibexa\Contracts\ProductCatalog\Values\CurrencyInterface
- currency of the price
Example¶
1 2 3 4 |
|