diff --git a/src/Data/LatLon.php b/src/Data/LatLon.php new file mode 100644 index 0000000..f842d5e --- /dev/null +++ b/src/Data/LatLon.php @@ -0,0 +1,25 @@ +getLatitude(); + } + + public function getLongitude(): float + { + return $this->getLongitude(); + } +} diff --git a/src/Entity/GeocodeData.php b/src/Entity/GeocodeData.php deleted file mode 100644 index ab6bb6f..0000000 --- a/src/Entity/GeocodeData.php +++ /dev/null @@ -1,32 +0,0 @@ -latitude = $latitude; - } - - public function setLongitude(float $longitude): void - { - $this->longitude = $longitude; - } - - public function getLatitude(): float - { - return $this->getLatitude(); - } - - public function getLongitude(): float - { - return $this->getLongitude(); - } -}