private function addAggregationProviders()
    {
        foreach ($this->_data as $requestName => $requestConfig) {
            if (isset($requestConfig['aggregationsProviders'])) {
                $providers = [];

                foreach ($requestConfig['aggregationsProviders'] as $providerName => $providerClass) {
                    $providers[$providerName] = $this->objectManager->create($providerClass, ['requestName' => $requestName]);
                }

                $this->_data[$requestName]['aggregationsProviders'] = $providers;
            }
        }
    }
private function addAggregationProviders()
    {
        foreach ($this->_data as $requestName => $requestConfig) {
            if (isset($requestConfig['aggregationsProviders'])) {
                $providers = [];

                foreach ($requestConfig['aggregationsProviders'] as $providerName => $providerClass) {
                    $providers[$providerName] = $this->objectManager->create($providerClass, ['requestName' => $requestName]);
                }

                $this->_data[$requestName]['aggregationsProviders'] = $providers;
            }
        }
    }
private function addAggregationProviders ( ) { foreach ( $ this -> _data as $ requestName => $ requestConfig ) { if ( isset ( $ requestConfig [ 'aggregationsProviders' ] ) ) { $ providers = [ ] ; foreach ( $ requestConfig [ 'aggregationsProviders' ] as $ providerName => $ providerClass ) { $ providers [ $ providerName ] = $ this -> objectManager -> create ( $ providerClass , [ 'requestName' => $ requestName ] ) ; } $ this -> _data [ $ requestName ] [ 'aggregationsProviders' ] = $ providers ; } } }
Append the aggregation providers to search requests configuration.

@return BaseConfig
Append the aggregation providers to search requests configuration .