PHP Class Cmfcmf\OpenWeatherMap\Fetcher\CurlFetcher

Inheritance: implements Cmfcmf\OpenWeatherMap\Fetcher\FetcherInterface
Afficher le fichier Open project: cmfcmf/openweathermap-php-api Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( array $curlOptions = [] ) Create a new CurlFetcher instance.
fetch ( $url )

Method Details

__construct() public méthode

Create a new CurlFetcher instance.
public __construct ( array $curlOptions = [] )
$curlOptions array The Curl options to use. See http://php.net/manual/de/function.curl-setopt.php for a list of available options.

fetch() public méthode

public fetch ( $url )