1 | <?php |
||
17 | class CachingGeocoder implements Geocoder { |
||
18 | |||
19 | private $geocoder; |
||
20 | private $cache; |
||
21 | private $cacheTtl; |
||
22 | |||
23 | 86 | public function __construct( Geocoder $geocoder, BagOStuff $cache, int $cacheTtl ) { |
|
28 | |||
29 | /** |
||
30 | * @return LatLongValue|null |
||
31 | */ |
||
32 | 76 | public function geocode( string $address ) { |
|
46 | } |
||
47 |