You are here

interface GeoPHPInterface in Geofield 8

Provides a GeoPHPInterface.

Hierarchy

Expanded class hierarchy of GeoPHPInterface

All classes that implement GeoPHPInterface

5 files declare their use of GeoPHPInterface
GeoConstraintValidator.php in src/Plugin/Validation/Constraint/GeoConstraintValidator.php
GeoField.php in src/Plugin/migrate/process/GeoField.php
GeofieldBackendBase.php in src/Plugin/GeofieldBackendBase.php
GeofieldBaseWidget.php in src/Plugin/Field/FieldWidget/GeofieldBaseWidget.php
GeofieldDefaultFormatter.php in src/Plugin/Field/FieldFormatter/GeofieldDefaultFormatter.php

File

src/GeoPHP/GeoPHPInterface.php, line 8

Namespace

Drupal\geofield\GeoPHP
View source
interface GeoPHPInterface {

  /**
   * Retrieves the GeoPHP library current version.
   *
   * @return string
   *   The version value.
   */
  public function version();

  /**
   * Loads a geometry object given some parameters.
   *
   * @param mixed|null $data
   *   The data to load.
   * @param string $type
   *   The string type.
   *
   * @return \Geometry|null
   *   The geometry object
   */
  public function load($data = NULL, $type = NULL);

  /**
   * Get the Adapter Map.
   *
   * @return mixed
   *   The Adapter Map.
   */
  public function getAdapterMap();

}

Members

Namesort descending Modifiers Type Description Overrides
GeoPHPInterface::getAdapterMap public function Get the Adapter Map. 1
GeoPHPInterface::load public function Loads a geometry object given some parameters. 1
GeoPHPInterface::version public function Retrieves the GeoPHP library current version. 1