Source of file GeocodeServiceInterface.php
Size: 0,517 Bytes - Last Modified: 2021-12-23T10:25:15+00:00
/var/www/docs.ssmods.com/process/src/src/GeocodeServiceInterface.php
12345678910111213141516171819202122 | <?php namespace Symbiote\Addressable; /** * Interface for service classes for geocoding addresses using. * * @package silverstripe-addressable */ interface GeocodeServiceInterface { /** * Convert an address into a latitude and longitude. * * @param string $address The address to geocode. * @param string $region An optional two letter region code. * @return array An associative array with lat and lng keys. */ public function addressToPoint($address, $region = ''); } |