Geocoder\Provider\TomTom::__construct PHP Method

__construct() public method

public __construct ( Http\Client\HttpClient $client, string $apiKey, string $locale = null )
$client Http\Client\HttpClient An HTTP adapter.
$apiKey string An API key.
$locale string A locale (optional).
    public function __construct(HttpClient $client, $apiKey, $locale = null)
    {
        parent::__construct($client);
        $this->apiKey = $apiKey;
        $this->locale = $locale;
    }