public function GeocoderHttpAdapter::__construct in Geocoder 8.2
Creates an HTTP adapter.
Parameters
\GuzzleHttp\ClientInterface $httpClient: A Guzzle client object.
File
- src/
GeocoderHttpAdapter.php, line 33
Class
- GeocoderHttpAdapter
- Extends AbstractHttpAdapter to use Guzzle.
Namespace
Drupal\geocoderCode
public function __construct(ClientInterface $httpClient) {
parent::__construct();
$this->httpClient = $httpClient;
}