class Geometry in Geocoder 7.2
Same name in this branch
- 7.2 src/Geocoder/Dumper/Geometry.php \Geocoder\Dumper\Geometry
- 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\DumperView source
class Geometry implements Dumper {
/**
* @inheritdoc
*/
public function dump(Address $address) {
$dumper = new \Geocoder\Dumper\GeoJson();
return \geoPHP::load($dumper
->dump($address), 'geojson');
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Geometry:: |
public | function | @inheritdoc |