Add get geocode data method to interface
This commit is contained in:
1 parent
2f54e01fdd
commit
2aa5cb731e
1 file changed
+7
@@ -17,6 +17,13 @@ interface GeocodeInterface
|
|||||||
|
|
||||||
public function setLongitude(float $lon): self;
|
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)
|
* @return bool True if both latitude and longitude are set and are not (0, 0)
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in new issue
Block a user