33 lines
550 B
PHP
33 lines
550 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pcm\GeocodeBundle\Entity;
|
|
|
|
class GeocodeData
|
|
{
|
|
private float $latitude;
|
|
|
|
private float $longitude;
|
|
|
|
public function setLatitude(float $latitude): void
|
|
{
|
|
$this->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();
|
|
}
|
|
}
|