From: Raphaƫl Gertz Date: Sun, 13 Dec 2020 20:52:51 +0000 (+0100) Subject: Add hotspot flag on location X-Git-Tag: 0.1.7~51 X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/commitdiff_plain/61e51b1afe272422dd8297ec57c3db8cfb1bb441?ds=sidebyside Add hotspot flag on location --- 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 *