You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
424 B
PHP
19 lines
424 B
PHP
<?php
|
|
|
|
namespace Ae3\LaravelGeoLayer\app\Services\Contracts;
|
|
|
|
interface GeocodingServiceContract
|
|
{
|
|
/**
|
|
* @param string $address
|
|
* @return array
|
|
*/
|
|
public function getCoordinatesForAddress(string $address): array;
|
|
|
|
/**
|
|
* @param float $latitude
|
|
* @param float $longitude
|
|
* @return array
|
|
*/
|
|
public function getAddressForCoordinates(float $latitude, float $longitude): array;
|
|
} |