You are here

class Geometry in Geocoder 7.2

Same name in this branch
  1. 7.2 src/Geocoder/Dumper/Geometry.php \Geocoder\Dumper\Geometry
  2. 7.2 src/Plugin/Geocoder/Dumper/Geometry.php \Drupal\geocoder\Plugin\Geocoder\Dumper\Geometry

@author Pol Dellaiera <pol.dellaiera@gmail.com>

Hierarchy

  • class \Geocoder\Dumper\Geometry implements \Geocoder\Dumper\Dumper

Expanded class hierarchy of Geometry

File

src/Geocoder/Dumper/Geometry.php, line 9

Namespace

Geocoder\Dumper
View source
class Geometry implements Dumper {

  /**
   * @inheritdoc
   */
  public function dump(Address $address) {
    $dumper = new \Geocoder\Dumper\GeoJson();
    return \geoPHP::load($dumper
      ->dump($address), 'geojson');
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Geometry::dump public function @inheritdoc