Property | Type | Description | |
---|---|---|---|
$city | Cmfcmf\OpenWeatherMap\Util\City | The city object. | |
$clouds | Cmfcmf\OpenWeatherMap\Util\Unit | ||
$humidity | Cmfcmf\OpenWeatherMap\Util\Unit | ||
$lastUpdate | DateTime | ||
$precipitation | Cmfcmf\OpenWeatherMap\Util\Unit | ||
$pressure | Cmfcmf\OpenWeatherMap\Util\Unit | ||
$sun | Cmfcmf\OpenWeatherMap\Util\Sun | ||
$temperature | Cmfcmf\OpenWeatherMap\Util\Temperature | The temperature object. | |
$weather | Cmfcmf\OpenWeatherMap\Util\Weather | ||
$wind | Cmfcmf\OpenWeatherMap\Util\Wind |
Method | Description | |
---|---|---|
__construct ( mixed $data, string $units ) | Create a new weather object. |
public __construct ( mixed $data, string $units ) | ||
$data | mixed | |
$units | string |
public City,Cmfcmf\OpenWeatherMap\Util $city | ||
return | Cmfcmf\OpenWeatherMap\Util\City |
public Unit,Cmfcmf\OpenWeatherMap\Util $clouds | ||
return | Cmfcmf\OpenWeatherMap\Util\Unit |
public Unit,Cmfcmf\OpenWeatherMap\Util $humidity | ||
return | Cmfcmf\OpenWeatherMap\Util\Unit |
public Unit,Cmfcmf\OpenWeatherMap\Util $precipitation | ||
return | Cmfcmf\OpenWeatherMap\Util\Unit |
public Unit,Cmfcmf\OpenWeatherMap\Util $pressure | ||
return | Cmfcmf\OpenWeatherMap\Util\Unit |
public Sun,Cmfcmf\OpenWeatherMap\Util $sun | ||
return | Cmfcmf\OpenWeatherMap\Util\Sun |
public Temperature,Cmfcmf\OpenWeatherMap\Util $temperature | ||
return | Cmfcmf\OpenWeatherMap\Util\Temperature |
public Weather,Cmfcmf\OpenWeatherMap\Util $weather | ||
return | Cmfcmf\OpenWeatherMap\Util\Weather |