| 1 | <?php |
||
| 23 | class Uvi |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var string The date time. |
||
| 27 | */ |
||
| 28 | public $time; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var float The latitude. |
||
| 32 | */ |
||
| 33 | public $latitude; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var float The longitude. |
||
| 37 | */ |
||
| 38 | public $longitude; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @var float The UVI data. |
||
| 42 | */ |
||
| 43 | public $data; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Create a new city object. |
||
| 47 | * |
||
| 48 | * @param string $time The current time or time slot. |
||
| 49 | * @param float $latitude The name of the city. |
||
| 50 | * @param float $longitude The longitude of the city. |
||
| 51 | * @param float $data The UVI value. |
||
| 52 | * |
||
| 53 | * @internal |
||
| 54 | */ |
||
| 55 | 2 | public function __construct($time, $latitude, $longitude, $data) |
|
| 62 | } |
||
| 63 |