PHP Class Cmfcmf\OpenWeatherMap\CurrentWeatherGroup

Inheritance: implements Iterator
Show file Open project: cmfcmf/openweathermap-php-api

Public Methods

Method Description
__construct ( stdClass $json, string $units ) Create a new current weathers group object.
current ( )
key ( )
next ( )
rewind ( )
valid ( )

Method Details

__construct() public method

Create a new current weathers group object.
public __construct ( stdClass $json, string $units )
$json stdClass The current weathers group json.
$units string The units used.

current() public method

public current ( )

key() public method

public key ( )

next() public method

public next ( )

rewind() public method

public rewind ( )

valid() public method

public valid ( )