Add get geocode data method to interface

This commit is contained in:
2024-09-26 09:51:21 +01:00
parent 2f54e01fdd
commit 2aa5cb731e

View File

@@ -17,6 +17,13 @@ interface GeocodeInterface
public function setLongitude(float $lon): self;
/**
* Used by {@see Pcm\GeocodeBundle\Service\Geocoder} to retrieve raw data for geocoding.
*
* @return string Data to use when geocodind an entity
*/
public function getGeocodeData(): string;
/**
* @return bool True if both latitude and longitude are set and are not (0, 0)
*/