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
62
62
63
63
The service provider creates the following services:
64
64
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.
68
68
69
69
By default, the ` geocoder.provider ` service uses FreeGeoIP and the ` geocoder.adapter ` service uses the cURL adapter.
70
70
Override these services to use the adapter/provider you want.
83
83
$geocode = Geocoder::geocode('10 rue Gambetta, Paris, France');
84
84
// ...
85
85
} catch (\Exception $e) {
86
+ // Here we will get "The FreeGeoIpProvider does not support Street addresses." ;)
86
87
echo $e->getMessage();
87
88
}
88
89
```
You can’t perform that action at this time.
0 commit comments