PHP Class Cmfcmf\OpenWeatherMap\Forecast

Inheritance: extends CurrentWeather
Show file Open project: cmfcmf/openweathermap-php-api

Public Properties

Property Type Description
$time The time of the forecast.

Public Methods

Method Description
__construct ( SimpleXMLElement $xml, string $units ) Create a new weather object for forecasts.

Method Details

__construct() public method

Create a new weather object for forecasts.
public __construct ( SimpleXMLElement $xml, string $units )
$xml SimpleXMLElement The forecasts xml.
$units string Ths units used.

Property Details

$time public property

The time of the forecast.
public $time