willdurand/BazingaGeocoderBundle — pull request #10 by Baachi (2012-08-29 17:53:44+00:00)
Title: Make dumper's available for sf2

Hey!

I've created a `DumperManager` that provide all dumpers.
You can easily add more dumper's to the manager with DI - Tags.

e.g.:

```xml

```

The dumper is registerd as `bazinga_geocoder.dumper_manager`.

Simple usage:
```php
container->get('bazinga_geocoder.geocoder')->geocode($ipAddress);
$dumper = $this->container->get('bazinga_geocoder.dumper_manager')->get('geojson');
return new JsonResponse($dumper->dump($result));
}

// [...]
}
```