DependencyInjection/HexmediaAdministratorExtension.php
protected function loadConfiguration(array $configs, ContainerBuilder $container)
    {
        $configuration = new Configuration();
        $config = $this->processConfiguration($configuration, $configs);

        $container->setParameter("hexmedia.seo.options", $config['seo']);

        if (!isset($config['ga']['domain'])) {
            $config['ga']['domain'] = $container->getParameter("domain");
        }

        $container->setParameter("hexmedia.ga.options", $config['ga']);
    }
protected function loadConfiguration(array $configs, ContainerBuilder $container)
    {
        $configuration = new Configuration();
        $config = $this->processConfiguration($configuration, $configs);

        $container->setParameter("hexmedia.seo.options", $config['seo']);

        if (!isset($config['ga']['domain'])) {
            $config['ga']['domain'] = $container->getParameter("domain");
        }

        $container->setParameter("hexmedia.ga.options", $config['ga']);
    }
protected function loadConfiguration ( array $ configs , ContainerBuilder $ container ) { $ configuration = new Configuration ( ) ; $ config = $ this -> processConfiguration ( $ configuration , $ configs ) ; $ container -> setParameter ( "hexmedia.seo.options" , $ config [ 'seo' ] ) ; if ( ! isset ( $ config [ 'ga' ] [ 'domain' ] ) ) { $ config [ 'ga' ] [ 'domain' ] = $ container -> getParameter ( "domain" ) ; } $ container -> setParameter ( "hexmedia.ga.options" , $ config [ 'ga' ] ) ; }
Loads the configuration in, with any defaults

@param array $configs
@param \Symfony\Component\DependencyInjection\ContainerBuilder $container
Loads the configuration in with any defaults