You are here

public function Geometry::dump in Geocoder 8.2

Same name in this branch
  1. 8.2 modules/geocoder_geofield/src/Geocoder/Dumper/Geometry.php \Drupal\geocoder_geofield\Geocoder\Dumper\Geometry::dump()
  2. 8.2 modules/geocoder_geofield/src/Plugin/Geocoder/Dumper/Geometry.php \Drupal\geocoder_geofield\Plugin\Geocoder\Dumper\Geometry::dump()
Same name and namespace in other branches
  1. 8.3 modules/geocoder_geofield/src/Geocoder/Dumper/Geometry.php \Drupal\geocoder_geofield\Geocoder\Dumper\Geometry::dump()
1 method overrides Geometry::dump()
Geohash::dump in modules/geocoder_geofield/src/Geocoder/Dumper/Geohash.php

File

modules/geocoder_geofield/src/Geocoder/Dumper/Geometry.php, line 38

Class

Geometry
Dumper.

Namespace

Drupal\geocoder_geofield\Geocoder\Dumper

Code

public function dump(Address $address) {
  return $this->geophp
    ->load($this->dumper
    ->dump($address), 'json');
}