Geocoder\Provider\Mapzen::__construct PHP Méthode

__construct() public méthode

public __construct ( Http\Client\HttpClient $client, string $apiKey, $useSSL = true )
$client Http\Client\HttpClient An HTTP adapter.
$apiKey string An API key.
    public function __construct(HttpClient $client, $apiKey, $useSSL = true)
    {
        parent::__construct($client);
        $this->apiKey = $apiKey;
        $this->scheme = $useSSL ? 'https' : 'http';
    }