1 | <?php |
||
17 | class NominatimGeocoder implements Geocoder { |
||
18 | |||
19 | private $fileFetcher; |
||
20 | |||
21 | public function __construct( FileFetcher $fileFetcher ) { |
||
24 | |||
25 | /** |
||
26 | * @param string $address |
||
27 | * |
||
28 | * @return LatLongValue|null |
||
29 | */ |
||
30 | public function geocode( $address ) { |
||
45 | |||
46 | /** |
||
47 | * @param string $address |
||
48 | * |
||
49 | * @return string |
||
50 | */ |
||
51 | private function getRequestUrl( $address ) { |
||
54 | |||
55 | } |
||
56 |