You are here

class Geohash in Geocoder 8.2

Same name in this branch
  1. 8.2 modules/geocoder_geofield/src/Geocoder/Dumper/Geohash.php \Drupal\geocoder_geofield\Geocoder\Dumper\Geohash
  2. 8.2 modules/geocoder_geofield/src/Plugin/Geocoder/Dumper/Geohash.php \Drupal\geocoder_geofield\Plugin\Geocoder\Dumper\Geohash
Same name and namespace in other branches
  1. 8.3 modules/geocoder_geofield/src/Geocoder/Dumper/Geohash.php \Drupal\geocoder_geofield\Geocoder\Dumper\Geohash

Class for Geohash.

Hierarchy

  • class \Drupal\geocoder_geofield\Geocoder\Dumper\Geometry implements \Geocoder\Dumper\Dumper
    • class \Drupal\geocoder_geofield\Geocoder\Dumper\Geohash implements \Geocoder\Dumper\Dumper

Expanded class hierarchy of Geohash

File

modules/geocoder_geofield/src/Geocoder/Dumper/Geohash.php, line 11

Namespace

Drupal\geocoder_geofield\Geocoder\Dumper
View source
class Geohash extends Geometry implements Dumper {

  /**
   * Dumper.
   *
   * @var \Geocoder\Dumper\Dumper
   */
  protected $dumper;

  /**
   * Geophp interface.
   *
   * @var \Drupal\geofield\GeoPHP\GeoPHPInterface
   */
  protected $geophp;

  /**
   * {@inheritdoc}
   */
  public function dump(Address $address) {
    return parent::dump($address)
      ->out('geohash');
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Geohash::$dumper protected property Dumper. Overrides Geometry::$dumper
Geohash::$geophp protected property Geophp interface. Overrides Geometry::$geophp
Geohash::dump public function Overrides Geometry::dump
Geometry::__construct public function