openlayers-8.x-4.x-dev/src/GeoPHP/GeoPHPWrapper.php

src/GeoPHP/GeoPHPWrapper.php
<?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());
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc