3 namespace Rapsys\AirBundle\Entity
;
65 * @var \Doctrine\Common\Collections\Collection
72 public function __construct() {
73 $this->sessions
= new \Doctrine\Common\Collections\
ArrayCollection();
81 public function getId() {
88 * @param string $title
92 public function setTitle($title) {
93 $this->title
= $title;
103 public function getTitle() {
110 * @param string $short
114 public function setShort($short) {
115 $this->short
= $short;
125 public function getShort() {
132 * @param string $address
136 public function setAddress($address) {
137 $this->address
= $address;
147 public function getAddress() {
148 return $this->address
;
154 * @param string $zipcode
158 public function setZipcode($zipcode) {
159 $this->zipcode
= $zipcode;
169 public function getZipcode() {
170 return $this->zipcode
;
176 * @param string $city
180 public function setCity($city) {
191 public function getCity() {
198 * @param string $latitude
202 public function setLatitude($latitude) {
203 $this->latitude
= $latitude;
213 public function getLatitude() {
214 return $this->latitude
;
220 * @param string $longitude
224 public function setLongitude($longitude) {
225 $this->longitude
= $longitude;
235 public function getLongitude() {
236 return $this->longitude
;
242 * @param boolean $hotspot
246 public function setHotspot($hotspot) {
247 $this->hotspot
= $hotspot;
257 public function getHotspot() {
258 return $this->hotspot
;
264 * @param \DateTime $created
268 public function setCreated($created) {
269 $this->created
= $created;
279 public function getCreated() {
280 return $this->created
;
286 * @param \DateTime $updated
290 public function setUpdated($updated) {
291 $this->updated
= $updated;
301 public function getUpdated() {
302 return $this->updated
;
308 * @param \Rapsys\AirBundle\Entity\Session $session
312 public function addSession(\Rapsys\AirBundle\Entity\Session
$session) {
313 $this->sessions
[] = $session;
321 * @param \Rapsys\AirBundle\Entity\Session $session
323 public function removeSession(\Rapsys\AirBundle\Entity\Session
$session) {
324 $this->sessions
->removeElement($session);
330 * @return \Doctrine\Common\Collections\Collection
332 public function getSessions() {
333 return $this->sessions
;
337 * Returns a string representation of the location
341 public function __toString(): string {