You are here

class GeoJson in Geocoder 7.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/Geocoder/Dumper/GeoJson.php \Drupal\geocoder\Plugin\Geocoder\Dumper\GeoJson
  2. 8.2 src/Plugin/Geocoder/Dumper/GeoJson.php \Drupal\geocoder\Plugin\Geocoder\Dumper\GeoJson

Class GeoJson.

Plugin annotation


@GeocoderPlugin(
 id = "geojson",
 name = "GeoJson",
 type = "Dumper"
)

Hierarchy

Expanded class hierarchy of GeoJson

File

src/Plugin/Geocoder/Dumper/GeoJson.php, line 22
The GeoJson plugin.

Namespace

Drupal\geocoder\Plugin\Geocoder\Dumper
View source
class GeoJson extends Dumper implements DumperInterface {

  /**
   * @inheritdoc
   */
  public function dump(Address $address) {
    $handler = new \Geocoder\Dumper\GeoJson();
    return $handler
      ->dump($address);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
GeocoderPlugin::cache_get public function Get a cache object based on the cache ID. Overrides GeocoderPluginInterface::cache_get
GeocoderPlugin::cache_set public function Stores data in the persistent cache. Overrides GeocoderPluginInterface::cache_set
GeocoderPlugin::getCacheCid public function Generates a cache ID based on the arguments. Overrides GeocoderPluginInterface::getCacheCid
GeocoderPlugin::getConfiguration public function Get the object's configuration. Overrides GeocoderPluginInterface::getConfiguration
GeocoderPlugin::init public function Init method launched after object initialization. Overrides GeocoderPluginInterface::init 18
GeocoderPlugin::setConfiguration public function Set the object's configuration. Overrides GeocoderPluginInterface::setConfiguration
GeocoderPlugin::__construct public function GeocoderPlugin constructor. 1
GeoJson::dump public function @inheritdoc Overrides Dumper::dump