Geocoder\Provider\MaxMind::__construct PHP Method

__construct() public method

public __construct ( Http\Client\HttpClient $client, string $apiKey, string $service = self::CITY_EXTENDED_SERVICE, boolean $useSsl = false )
$client Http\Client\HttpClient An HTTP adapter.
$apiKey string An API key.
$service string The specific Maxmind service to use (optional).
$useSsl boolean Whether to use an SSL connection (optional).
    public function __construct(HttpClient $client, $apiKey, $service = self::CITY_EXTENDED_SERVICE, $useSsl = false)
    {
        parent::__construct($client);
        $this->apiKey = $apiKey;
        $this->service = $service;
        $this->useSsl = $useSsl;
    }