| 1 | <?php |
||
| 17 | class OpenWeatherMap extends WeatherAbstract |
||
| 18 | { |
||
| 19 | |||
| 20 | public function doFetchCurrent(Point $point) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | protected function getCacheKeyCurrent(Point $point) |
||
| 50 | |||
| 51 | protected function getCacheExpirationCurrent() |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @param Point $point |
||
| 58 | * @return Hourly |
||
| 59 | */ |
||
| 60 | protected function doFetchHourly(Point $point) |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @param Point $point |
||
| 67 | * |
||
| 68 | * @internal |
||
| 69 | * @return string |
||
| 70 | */ |
||
| 71 | protected function getCacheKeyHourly(Point $point) |
||
| 75 | |||
| 76 | /** |
||
| 77 | * |
||
| 78 | * @internal |
||
| 79 | * @return \DateTime |
||
| 80 | */ |
||
| 81 | protected function getCacheExpirationHourly() |
||
| 85 | } |
||
| 86 |