You are here

class GeoPHPWrapper in geoPHP 8

GeoPHPWrapper.

Hierarchy

Expanded class hierarchy of GeoPHPWrapper

1 string reference to 'GeoPHPWrapper'
geophp.services.yml in ./geophp.services.yml
geophp.services.yml
1 service uses GeoPHPWrapper
geophp.geophp in ./geophp.services.yml
Drupal\geophp\GeoPHPWrapper

File

src/GeoPHPWrapper.php, line 8

Namespace

Drupal\geophp
View source
class GeoPHPWrapper implements GeoPHPInterface {

  /**
   * Constructor.
   */
  public function __construct() {
    require_once drupal_get_path('module', 'geophp') . '/geoPHP/geoPHP.inc';
  }

  /**
   * {@inheritdoc}
   */
  public function version() {
    return \geoPHP::version();
  }

  /**
   * {@inheritdoc}
   */
  public function load() {
    return call_user_func_array([
      '\\geoPHP',
      'load',
    ], func_get_args());
  }

  /**
   * {@inheritdoc}
   */
  public function getAdapterMap() {
    return call_user_func_array([
      '\\geoPHP',
      'getAdapterMap',
    ], func_get_args());
  }

}

Members

Namesort descending Modifiers Type Description Overrides
GeoPHPWrapper::getAdapterMap public function Function getAdapterMap(). Overrides GeoPHPInterface::getAdapterMap
GeoPHPWrapper::load public function Loads a geometry object given some parameters. Overrides GeoPHPInterface::load
GeoPHPWrapper::version public function Retrieves the GeoPHP library current version. Overrides GeoPHPInterface::version
GeoPHPWrapper::__construct public function Constructor.