File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ Configuration
6262
6363The service provider creates the following services:
6464
65- * ` geocoder ` : the Geocoder instance.
66- * ` geocoder.provider ` : the provider used by Geocoder.
67- * ` geocoder.adapter ` : the HTTP adapter used to get data from remotes APIs.
65+ * `geocoder`: the Geocoder instance.
66+ * `geocoder.provider`: the provider used by Geocoder.
67+ * `geocoder.adapter`: the HTTP adapter used to get data from remotes APIs.
6868
6969By default, the ` geocoder.provider ` service uses FreeGeoIP and the ` geocoder.adapter ` service uses the cURL adapter.
7070Override these services to use the adapter/provider you want.
8383 $geocode = Geocoder::geocode('10 rue Gambetta, Paris, France');
8484 // ...
8585} catch (\Exception $e) {
86+ // Here we will get "The FreeGeoIpProvider does not support Street addresses." ;)
8687 echo $e->getMessage();
8788}
8889```
You can’t perform that action at this time.
0 commit comments