DependencyInjection/FxpBlockExtension.php
public function load(array $configs, ContainerBuilder $container)
    {
        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $loader->load('block.xml');
        $loader->load('twig.xml');

        if (\count($configs) > 1) {
            $initConfig = array_pop($configs);
            $configs = array_reverse($configs);
            $configs[] = $initConfig;
        }

        $configuration = $this->getConfiguration($configs, $container);
        $config = $this->processConfiguration($configuration, $configs);

        $container->setParameter('fxp_block.twig.resources', $config['block_themes']);
        $this->registerDoctrineConfiguration($config['doctrine'], $loader);
        $this->registerProfilerConfiguration($config['profiler'], $loader);
    }
public function load(array $configs, ContainerBuilder $container)
    {
        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $loader->load('block.xml');
        $loader->load('twig.xml');

        if (\count($configs) > 1) {
            $initConfig = array_pop($configs);
            $configs = array_reverse($configs);
            $configs[] = $initConfig;
        }

        $configuration = $this->getConfiguration($configs, $container);
        $config = $this->processConfiguration($configuration, $configs);

        $container->setParameter('fxp_block.twig.resources', $config['block_themes']);
        $this->registerDoctrineConfiguration($config['doctrine'], $loader);
        $this->registerProfilerConfiguration($config['profiler'], $loader);
    }
{@inheritdoc}