| 1 | <?php |
||
| 8 | abstract class WeatherBase extends Base |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | protected $units; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | protected $language; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $type; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * WeatherBase constructor. |
||
| 27 | * |
||
| 28 | * @param \Netgen\Bundle\OpenWeatherMapBundle\Http\HttpClientInterface $client |
||
| 29 | * @param string $apiKey |
||
| 30 | * @param \Netgen\Bundle\OpenWeatherMapBundle\Cache\HandlerInterface $cacheService |
||
| 31 | * @param string $units |
||
| 32 | * @param string $language |
||
| 33 | * @param string $type |
||
| 34 | */ |
||
| 35 | public function __construct(HttpClientInterface $client, $apiKey, HandlerInterface $cacheService, $units, $language, $type) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Return standard params. |
||
| 45 | * |
||
| 46 | * @return string |
||
| 47 | */ |
||
| 48 | protected function getParams() |
||
| 54 | } |
||
| 55 |