protected function normalizeConnectionConfig(array $config)
    {
        $adapter = $this->createConfigurationAdapter($config['driver']);

        $configuration = new ConnectionConfiguration($adapter);

        return $configuration->map($config);
    }
protected function normalizeConnectionConfig(array $config)
    {
        $adapter = $this->createConfigurationAdapter($config['driver']);

        $configuration = new ConnectionConfiguration($adapter);

        return $configuration->map($config);
    }
protected function normalizeConnectionConfig ( array $ config ) { $ adapter = $ this -> createConfigurationAdapter ( $ config [ 'driver' ] ) ; $ configuration = new ConnectionConfiguration ( $ adapter ) ; return $ configuration -> map ( $ config ) ; }
Normalizes the connection config to a format Doctrine can use.

@param array $config

@return array
@throws \Exception
Normalizes the connection config to a format Doctrine can use .