GeoPHPWrapper.php in Geofield 8
File
src/GeoPHP/GeoPHPWrapper.php
View source
<?php
namespace Drupal\geofield\GeoPHP;
class GeoPHPWrapper implements GeoPHPInterface {
public function version() {
return \geoPHP::version();
}
public function load($data = NULL, $type = NULL) {
try {
return call_user_func_array([
'\\geoPHP',
'load',
], func_get_args());
} catch (\Exception $e) {
return NULL;
}
}
public function getAdapterMap() {
return call_user_func_array([
'\\geoPHP',
'getAdapterMap',
], func_get_args());
}
}