protected function processSemanticConfig(ContainerBuilder $container, $config)
    {
        $processor = new ConfigurationProcessor($container, 'eztags');
        $processor->mapConfig(
            $config,
            static function ($config, $scope, ContextualizerInterface $c) {
                $c->setContextualParameter('tag_view.cache', $scope, $config['tag_view']['cache']);
                $c->setContextualParameter('tag_view.ttl_cache', $scope, $config['tag_view']['ttl_cache']);
                $c->setContextualParameter('tag_view.default_ttl', $scope, $config['tag_view']['default_ttl']);
                $c->setContextualParameter('tag_view.template', $scope, $config['tag_view']['template']);
                $c->setContextualParameter('tag_view.pagelayout', $scope, $config['tag_view']['pagelayout']);
                $c->setContextualParameter('tag_view.path_prefix', $scope, $config['tag_view']['path_prefix']);

                $c->setContextualParameter('tag_view.related_content_list.limit', $scope, $config['tag_view']['related_content_list']['limit']);
                $c->setContextualParameter('tag_view.related_content_list.return_content_info', $scope, $config['tag_view']['related_content_list']['return_content_info']);

                $c->setContextualParameter('admin.pagelayout', $scope, $config['admin']['pagelayout']);
                $c->setContextualParameter('admin.children_limit', $scope, $config['admin']['children_limit']);
                $c->setContextualParameter('admin.related_content_limit', $scope, $config['admin']['related_content_limit']);
                $c->setContextualParameter('field.autocomplete_limit', $scope, $config['field']['autocomplete_limit']);
            }
        );

        $processor->mapConfigArray('tag_view_match', $config, ContextualizerInterface::MERGE_FROM_SECOND_LEVEL);
        $processor->mapConfigArray('edit_views', $config, ContextualizerInterface::MERGE_FROM_SECOND_LEVEL);
    }
protected function processSemanticConfig(ContainerBuilder $container, $config)
    {
        $processor = new ConfigurationProcessor($container, 'eztags');
        $processor->mapConfig(
            $config,
            static function ($config, $scope, ContextualizerInterface $c) {
                $c->setContextualParameter('tag_view.cache', $scope, $config['tag_view']['cache']);
                $c->setContextualParameter('tag_view.ttl_cache', $scope, $config['tag_view']['ttl_cache']);
                $c->setContextualParameter('tag_view.default_ttl', $scope, $config['tag_view']['default_ttl']);
                $c->setContextualParameter('tag_view.template', $scope, $config['tag_view']['template']);
                $c->setContextualParameter('tag_view.pagelayout', $scope, $config['tag_view']['pagelayout']);
                $c->setContextualParameter('tag_view.path_prefix', $scope, $config['tag_view']['path_prefix']);

                $c->setContextualParameter('tag_view.related_content_list.limit', $scope, $config['tag_view']['related_content_list']['limit']);
                $c->setContextualParameter('tag_view.related_content_list.return_content_info', $scope, $config['tag_view']['related_content_list']['return_content_info']);

                $c->setContextualParameter('admin.pagelayout', $scope, $config['admin']['pagelayout']);
                $c->setContextualParameter('admin.children_limit', $scope, $config['admin']['children_limit']);
                $c->setContextualParameter('admin.related_content_limit', $scope, $config['admin']['related_content_limit']);
                $c->setContextualParameter('field.autocomplete_limit', $scope, $config['field']['autocomplete_limit']);
            }
        );

        $processor->mapConfigArray('tag_view_match', $config, ContextualizerInterface::MERGE_FROM_SECOND_LEVEL);
        $processor->mapConfigArray('edit_views', $config, ContextualizerInterface::MERGE_FROM_SECOND_LEVEL);
    }
protected function processSemanticConfig ( ContainerBuilder $ container , $ config ) { $ processor = new ConfigurationProcessor ( $ container , 'eztags' ) ; $ processor -> mapConfig ( $ config , static function ( $ config , $ scope , ContextualizerInterface $ c ) { $ c -> setContextualParameter ( 'tag_view.cache' , $ scope , $ config [ 'tag_view' ] [ 'cache' ] ) ; $ c -> setContextualParameter ( 'tag_view.ttl_cache' , $ scope , $ config [ 'tag_view' ] [ 'ttl_cache' ] ) ; $ c -> setContextualParameter ( 'tag_view.default_ttl' , $ scope , $ config [ 'tag_view' ] [ 'default_ttl' ] ) ; $ c -> setContextualParameter ( 'tag_view.template' , $ scope , $ config [ 'tag_view' ] [ 'template' ] ) ; $ c -> setContextualParameter ( 'tag_view.pagelayout' , $ scope , $ config [ 'tag_view' ] [ 'pagelayout' ] ) ; $ c -> setContextualParameter ( 'tag_view.path_prefix' , $ scope , $ config [ 'tag_view' ] [ 'path_prefix' ] ) ; $ c -> setContextualParameter ( 'tag_view.related_content_list.limit' , $ scope , $ config [ 'tag_view' ] [ 'related_content_list' ] [ 'limit' ] ) ; $ c -> setContextualParameter ( 'tag_view.related_content_list.return_content_info' , $ scope , $ config [ 'tag_view' ] [ 'related_content_list' ] [ 'return_content_info' ] ) ; $ c -> setContextualParameter ( 'admin.pagelayout' , $ scope , $ config [ 'admin' ] [ 'pagelayout' ] ) ; $ c -> setContextualParameter ( 'admin.children_limit' , $ scope , $ config [ 'admin' ] [ 'children_limit' ] ) ; $ c -> setContextualParameter ( 'admin.related_content_limit' , $ scope , $ config [ 'admin' ] [ 'related_content_limit' ] ) ; $ c -> setContextualParameter ( 'field.autocomplete_limit' , $ scope , $ config [ 'field' ] [ 'autocomplete_limit' ] ) ; } ) ; $ processor -> mapConfigArray ( 'tag_view_match' , $ config , ContextualizerInterface :: MERGE_FROM_SECOND_LEVEL ) ; $ processor -> mapConfigArray ( 'edit_views' , $ config , ContextualizerInterface :: MERGE_FROM_SECOND_LEVEL ) ; }
Processes semantic config and translates it to container parameters.

@param \Symfony\Component\DependencyInjection\ContainerBuilder $container
@param $config
Processes semantic config and translates it to container parameters .