public function load(array $configs, ContainerBuilder $container)
    {
        $configuration = new Configuration();
        $config = $this->processConfiguration($configuration, $configs);

        $resolver = new DatabaseUrlResolver();
        foreach ($config['urls'] as $name => $url) {
            $target = $url['url'];
            $prefix = $url['prefix'];

            $params = $resolver->resolve($target);
            $container->setParameter("{$prefix}driver", $params['driver']);
            $container->setParameter("{$prefix}host", $params['host']);
            $container->setParameter("{$prefix}port", $params['port']);
            $container->setParameter("{$prefix}name", $params['name']);
            $container->setParameter("{$prefix}user", $params['user']);
            $container->setParameter("{$prefix}password", $params['password']);
            $container->setParameter("{$prefix}path", $params['path']);
            $container->setParameter("{$prefix}memory", $params['memory']);
        }
    }
public function load(array $configs, ContainerBuilder $container)
    {
        $configuration = new Configuration();
        $config = $this->processConfiguration($configuration, $configs);

        $resolver = new DatabaseUrlResolver();
        foreach ($config['urls'] as $name => $url) {
            $target = $url['url'];
            $prefix = $url['prefix'];

            $params = $resolver->resolve($target);
            $container->setParameter("{$prefix}driver", $params['driver']);
            $container->setParameter("{$prefix}host", $params['host']);
            $container->setParameter("{$prefix}port", $params['port']);
            $container->setParameter("{$prefix}name", $params['name']);
            $container->setParameter("{$prefix}user", $params['user']);
            $container->setParameter("{$prefix}password", $params['password']);
            $container->setParameter("{$prefix}path", $params['path']);
            $container->setParameter("{$prefix}memory", $params['memory']);
        }
    }
{@inheritDoc}