private function getAggregations()
    {
        $aggs = [];

        foreach ($this->aggregationProviders as $aggregationProvider) {
            $aggs[] = $aggregationProvider->getAggregation();
        }

        return $aggs;
    }
private function getAggregations()
    {
        $aggs = [];

        foreach ($this->aggregationProviders as $aggregationProvider) {
            $aggs[] = $aggregationProvider->getAggregation();
        }

        return $aggs;
    }
private function getAggregations ( ) { $ aggs = [ ] ; foreach ( $ this -> aggregationProviders as $ aggregationProvider ) { $ aggs [ ] = $ aggregationProvider -> getAggregation ( ) ; } return $ aggs ; }
Get aggregations.

@return array
Get aggregations .