private function mapLaravelToDoctrineConfig($config)
    {
        $default = $config['database.default'];
        $connection = $config["database.connections.{$default}"];
        return App::make(DriverMapper::class)->map($connection);
    }
private function mapLaravelToDoctrineConfig($config)
    {
        $default = $config['database.default'];
        $connection = $config["database.connections.{$default}"];
        return App::make(DriverMapper::class)->map($connection);
    }
private function mapLaravelToDoctrineConfig ( $ config ) { $ default = $ config [ 'database.default' ] ; $ connection = $ config [ "database.connections.{$default}" ] ; return App :: make ( DriverMapper :: class ) -> map ( $ connection ) ; }
Map Laravel's to Doctrine's database configuration requirements.
@param $config
@throws \Exception
@return array
Map Laravel s to Doctrine s database configuration requirements .