You are here

public function DumperBase::dump in Geocoder 8.3

Same name and namespace in other branches
  1. 8.2 src/DumperBase.php \Drupal\geocoder\DumperBase::dump()

Dumps the argument into a specific format.

Parameters

\Geocoder\Location $location: The address to be formatted.

Return value

string The formatted address.

Overrides DumperInterface::dump

1 call to DumperBase::dump()
Geometry::dump in modules/geocoder_geofield/src/Plugin/Geocoder/Dumper/Geometry.php
Dumps the argument into a specific format.
3 methods override DumperBase::dump()
AddressText::dump in src/Plugin/Geocoder/Dumper/AddressText.php
Dumps the argument into a specific format.
Geohash::dump in modules/geocoder_geofield/src/Plugin/Geocoder/Dumper/Geohash.php
Dumps the argument into a specific format.
Geometry::dump in modules/geocoder_geofield/src/Plugin/Geocoder/Dumper/Geometry.php
Dumps the argument into a specific format.

File

src/DumperBase.php, line 32

Class

DumperBase
Provides a base class for geocoder dumper plugins.

Namespace

Drupal\geocoder

Code

public function dump(Location $location) {
  return $this
    ->getHandler()
    ->dump($location);
}