public function prepend(ContainerBuilder $container)
    {
        $configs = array(
            'bazinga_geocoder' => array(
                'providers' => array('google_maps' => null)
            ),
//            'ivory_google_map' => array(
//                'map' => array('width' => "100%", 'height' => "600px"),
//                'info_window' => array('auto_close' => true)
//            ),
            'doctrine' => array(
                'orm' => array(
                    'dql' => array(
                        'numeric_functions' => array(
                            'GEO_DISTANCE' => 'Craue\GeoBundle\Doctrine\Query\Mysql\GeoDistance'
                        )
                    )
                )
            )
        );

        foreach ($configs as $name => $config) {
            $container->prependExtensionConfig($name, $config);
        }
    }
public function prepend(ContainerBuilder $container)
    {
        $configs = array(
            'bazinga_geocoder' => array(
                'providers' => array('google_maps' => null)
            ),
//            'ivory_google_map' => array(
//                'map' => array('width' => "100%", 'height' => "600px"),
//                'info_window' => array('auto_close' => true)
//            ),
            'doctrine' => array(
                'orm' => array(
                    'dql' => array(
                        'numeric_functions' => array(
                            'GEO_DISTANCE' => 'Craue\GeoBundle\Doctrine\Query\Mysql\GeoDistance'
                        )
                    )
                )
            )
        );

        foreach ($configs as $name => $config) {
            $container->prependExtensionConfig($name, $config);
        }
    }
public function prepend ( ContainerBuilder $ container ) { $ configs = array ( 'bazinga_geocoder' => array ( 'providers' => array ( 'google_maps' => null ) ) , //            'ivory_google_map' => array( //                'map' => array('width' => "100%", 'height' => "600px"), //                'info_window' => array('auto_close' => true) //            ), 'doctrine' => array ( 'orm' => array ( 'dql' => array ( 'numeric_functions' => array ( 'GEO_DISTANCE' => 'Craue\GeoBundle\Doctrine\Query\Mysql\GeoDistance' ) ) ) ) ) ; foreach ( $ configs as $ name => $ config ) { $ container -> prependExtensionConfig ( $ name , $ config ) ; } }
Configure sensitive defaults for other bundles

@param ContainerBuilder $container
Configure sensitive defaults for other bundles