DependencyInjection/LdapToolsExtension.php
public function load(array $configs, ContainerBuilder $container)
    {
        $configuration = new Configuration($container->getParameter('kernel.debug'));
        $config = $this->processConfiguration($configuration, $configs);

        $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $loader->load('services.xml');

        $this->setLdapConfigDefinition($container, $config);
        $this->setDoctrineConfiguration($container, $config);
        $this->setSecurityConfiguration($container, $config['security']);
        $this->setGuardConfiguration($container, $config['security']['guard'], $config['security']);
    }
public function load(array $configs, ContainerBuilder $container)
    {
        $configuration = new Configuration($container->getParameter('kernel.debug'));
        $config = $this->processConfiguration($configuration, $configs);

        $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $loader->load('services.xml');

        $this->setLdapConfigDefinition($container, $config);
        $this->setDoctrineConfiguration($container, $config);
        $this->setSecurityConfiguration($container, $config['security']);
        $this->setGuardConfiguration($container, $config['security']['guard'], $config['security']);
    }
{@inheritdoc}