-
Notifications
You must be signed in to change notification settings - Fork 106
Using Dumpers #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @mack-hankins, Thanks for your message, why not it can be a good idea actually ? You're welcome to make a PR if you want :) If you need a dumper asap just instantiate it, something like this should work: //...
try {
$geocoded = Geocoder::geocode('copenhagen');
$dumper = new \Geocoder\Dumper\GpxDumper();
$strGpx = $dumper->dump($geocoded);
echo $strGpx;
} catch (\Exception $e) {
// No exception will be thrown here
echo $e->getMessage();
} |
@mack-hankins Maybe should we provide a facade factory for dumpers, what do you think ? |
@toin0u I think that would be the best approach. I don't know if I have time for a pull request, but your solution worked for now. |
Ok let's keep this open and I'll try to find time for that :) Anyway thanks for reporting this ! Merry Christmas :) |
This will be available in the next release. :) Should be forthcoming shortly. |
Have you considered adding the dumpers feature? Any idea how to implement this?
The text was updated successfully, but these errors were encountered: