3 * OpenWeatherMap-PHP-API — A php api to parse weather data from http://www.OpenWeatherMap.org .
7 * Please see the LICENSE file distributed with this source code for further
8 * information regarding copyright and licensing.
10 * Please visit the following links to read about the usage policies and the license of
11 * OpenWeatherMap before using this class:
13 * @see http://www.OpenWeatherMap.org
14 * @see http://www.OpenWeatherMap.org/terms
15 * @see http://openweathermap.org/appid
18 namespace Cmfcmf\OpenWeatherMap\Util;
21 * The wind class representing a wind object.
26 * @var Unit The wind speed.
31 * @var Unit The wind direction.
36 * Create a new wind object.
38 * @param Unit $speed The wind speed.
39 * @param Unit $direction The wind direction.
43 public function __construct(Unit $speed, Unit $direction)
45 $this->speed = $speed;
46 $this->direction = $direction;