You are here

public function AbstractGeometryProvider::__construct in Geocoder 8.2

Same name and namespace in other branches
  1. 8.3 modules/geocoder_geofield/src/Geocoder/Provider/AbstractGeometryProvider.php \Drupal\geocoder_geofield\Geocoder\Provider\AbstractGeometryProvider::__construct()

File

modules/geocoder_geofield/src/Geocoder/Provider/AbstractGeometryProvider.php, line 31

Class

AbstractGeometryProvider
Provides an abstract file handler to be used by GeoPHP Wrapper.

Namespace

Drupal\geocoder_geofield\Geocoder\Provider

Code

public function __construct() {
  $this->geophp = \Drupal::service('geofield.geophp');
}