protected function prepareServiceConfigs(ContainerBuilder $container, $pipelineConfig, $pipelineName)
    {
        return array_merge(
            $pipelineConfig['config'],
            [
                'doctrineManager' => $pipelineConfig['doctrineManager'],
                'elasticsearchManager' => $pipelineConfig['elasticsearchManager'],
                'sync_storage' => $pipelineConfig['sync_storage'],
                'diff_provider' => $pipelineConfig['diff_provider'],
                'extractor' => $pipelineConfig['extractor'],
                'chunk_size' => $pipelineConfig['chunk_size'],
                'shop' => $pipelineConfig['shop'],
                'shop_id' => $this->getShopId($container, $pipelineConfig['shop'], $pipelineName),
            ]
        );
    }
protected function prepareServiceConfigs(ContainerBuilder $container, $pipelineConfig, $pipelineName)
    {
        return array_merge(
            $pipelineConfig['config'],
            [
                'doctrineManager' => $pipelineConfig['doctrineManager'],
                'elasticsearchManager' => $pipelineConfig['elasticsearchManager'],
                'sync_storage' => $pipelineConfig['sync_storage'],
                'diff_provider' => $pipelineConfig['diff_provider'],
                'extractor' => $pipelineConfig['extractor'],
                'chunk_size' => $pipelineConfig['chunk_size'],
                'shop' => $pipelineConfig['shop'],
                'shop_id' => $this->getShopId($container, $pipelineConfig['shop'], $pipelineName),
            ]
        );
    }
protected function prepareServiceConfigs ( ContainerBuilder $ container , $ pipelineConfig , $ pipelineName ) { return array_merge ( $ pipelineConfig [ 'config' ] , [ 'doctrineManager' => $ pipelineConfig [ 'doctrineManager' ] , 'elasticsearchManager' => $ pipelineConfig [ 'elasticsearchManager' ] , 'sync_storage' => $ pipelineConfig [ 'sync_storage' ] , 'diff_provider' => $ pipelineConfig [ 'diff_provider' ] , 'extractor' => $ pipelineConfig [ 'extractor' ] , 'chunk_size' => $ pipelineConfig [ 'chunk_size' ] , 'shop' => $ pipelineConfig [ 'shop' ] , 'shop_id' => $ this -> getShopId ( $ container , $ pipelineConfig [ 'shop' ] , $ pipelineName ) , ] ) ; }
Merges and parses configs.

@param ContainerBuilder $container
@param array            $pipelineConfig
@param string           $pipelineName

@return array
Merges and parses configs .