You are here

GeoPHPWrapper.php in Openlayers 8.4

File

src/GeoPHP/GeoPHPWrapper.php
View source
<?php

namespace Drupal\openlayers\GeoPHP;


/**
 * Provides a geoPHP Wrapper class.
 */
class GeoPHPWrapper implements GeoPHPInterface {

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

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

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

}

Classes

Namesort descending Description
GeoPHPWrapper Provides a geoPHP Wrapper class.