You are here

public function KmlNormalizer::__construct in farmOS 2.x

KMLNormalizer constructor.

Parameters

\Drupal\geofield\GeoPHP\GeoPHPInterface $geo_PHP: The GeoPHP service.

File

modules/core/kml/src/Normalizer/KmlNormalizer.php, line 40

Class

KmlNormalizer
Normalizes GeometryWrapper objects into array for the Kml encoder.

Namespace

Drupal\farm_kml\Normalizer

Code

public function __construct(GeoPHPInterface $geo_PHP) {
  $this->geoPHP = $geo_PHP;
}