1 | <?php |
||
15 | class CachingGeocoder implements Geocoder { |
||
16 | |||
17 | private $geocoder; |
||
18 | private $cache; |
||
19 | private $cacheTtl; |
||
20 | |||
21 | public function __construct( Geocoder $geocoder, BagOStuff $cache, int $cacheTtl ) { |
||
26 | |||
27 | /** |
||
28 | * @return LatLongValue|null |
||
29 | */ |
||
30 | public function geocode( string $address ) { |
||
44 | } |
||
45 |