latitude; } public function getLongitude(): ?float { return $this->longitude; } public function setLatitude(float $lat): self { $this->latitude = $lat; return $this; } public function setLongitude(float $lon): self { $this->longitude = $lon; return $this; } public function isGeocoded(): bool { return null !== $this->getLatitude() && null !== $this->getLongitude(); } }