1 | <?php |
||
9 | class wind |
||
10 | { |
||
11 | /** |
||
12 | * Wind speed. |
||
13 | * @var Unit |
||
14 | */ |
||
15 | public $speed; |
||
16 | |||
17 | /** |
||
18 | * Wind direction. |
||
19 | * @var string |
||
20 | */ |
||
21 | public $direction; |
||
22 | |||
23 | /** |
||
24 | * Create Wind object. |
||
25 | * @param Unit $speed Wind speed. |
||
26 | * @param string $direction Wind direction |
||
27 | */ |
||
28 | public function __construct(Unit $speed, string $direction) |
||
33 | } |
||
34 |