From 61e51b1afe272422dd8297ec57c3db8cfb1bb441 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sun, 13 Dec 2020 21:52:51 +0100 Subject: [PATCH] Add hotspot flag on location --- Entity/Location.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Entity/Location.php b/Entity/Location.php index 43605ed..73fc6b9 100644 --- a/Entity/Location.php +++ b/Entity/Location.php @@ -46,6 +46,11 @@ class Location { */ private $longitude; + /** + * @var boolean + */ + private $hotspot; + /** * @var \DateTime */ @@ -231,6 +236,28 @@ class Location { return $this->longitude; } + /** + * Set hotspot + * + * @param boolean $hotspot + * + * @return Session + */ + public function setHotspot($hotspot) { + $this->hotspot = $hotspot; + + return $this; + } + + /** + * Get hotspot + * + * @return boolean + */ + public function getHotspot() { + return $this->hotspot; + } + /** * Set created * -- 2.41.1