3 namespace Rapsys\AirBundle\Entity
;
65 * @var \Doctrine\Common\Collections\Collection
70 * @var \Doctrine\Common\Collections\Collection
75 * @var \Doctrine\Common\Collections\Collection
82 public function __construct() {
83 $this->sessions
= new \Doctrine\Common\Collections\
ArrayCollection();
84 $this->snippets
= new \Doctrine\Common\Collections\
ArrayCollection();
85 $this->users
= new \Doctrine\Common\Collections\
ArrayCollection();
93 public function getId() {
100 * @param string $title
104 public function setTitle($title) {
105 $this->title
= $title;
115 public function getTitle() {
122 * @param string $short
126 public function setShort($short) {
127 $this->short
= $short;
137 public function getShort() {
144 * @param string $address
148 public function setAddress($address) {
149 $this->address
= $address;
159 public function getAddress() {
160 return $this->address
;
166 * @param string $zipcode
170 public function setZipcode($zipcode) {
171 $this->zipcode
= $zipcode;
181 public function getZipcode() {
182 return $this->zipcode
;
188 * @param string $city
192 public function setCity($city) {
203 public function getCity() {
210 * @param string $latitude
214 public function setLatitude($latitude) {
215 $this->latitude
= $latitude;
225 public function getLatitude() {
226 return $this->latitude
;
232 * @param string $longitude
236 public function setLongitude($longitude) {
237 $this->longitude
= $longitude;
247 public function getLongitude() {
248 return $this->longitude
;
254 * @param boolean $hotspot
258 public function setHotspot($hotspot) {
259 $this->hotspot
= $hotspot;
269 public function getHotspot() {
270 return $this->hotspot
;
276 * @param \DateTime $created
280 public function setCreated($created) {
281 $this->created
= $created;
291 public function getCreated() {
292 return $this->created
;
298 * @param \DateTime $updated
302 public function setUpdated($updated) {
303 $this->updated
= $updated;
313 public function getUpdated() {
314 return $this->updated
;
320 * @param \Rapsys\AirBundle\Entity\Session $session
324 public function addSession(\Rapsys\AirBundle\Entity\Session
$session) {
325 $this->sessions
[] = $session;
333 * @param \Rapsys\AirBundle\Entity\Session $session
335 public function removeSession(\Rapsys\AirBundle\Entity\Session
$session) {
336 $this->sessions
->removeElement($session);
342 * @return \Doctrine\Common\Collections\Collection
344 public function getSessions() {
345 return $this->sessions
;
351 * @param \Rapsys\AirBundle\Entity\Snippet $snippet
355 public function addSnippet(\Rapsys\AirBundle\Entity\Snippet
$snippet) {
356 $this->snippets
[] = $snippet;
364 * @param \Rapsys\AirBundle\Entity\Snippet $snippet
366 public function removeSnippet(\Rapsys\AirBundle\Entity\Snippet
$snippet) {
367 $this->snippets
->removeElement($snippet);
373 * @return \Doctrine\Common\Collections\Collection
375 public function getSnippets() {
376 return $this->snippets
;
382 * @param \Rapsys\AirBundle\Entity\User $user
386 public function addUser(\Rapsys\AirBundle\Entity\User
$user) {
387 $this->users
[] = $user;
395 * @param \Rapsys\AirBundle\Entity\User $user
397 public function removeUser(\Rapsys\AirBundle\Entity\User
$user) {
398 $this->users
->removeElement($user);
404 * @return \Doctrine\Common\Collections\Collection
406 public function getUsers() {
411 * Returns a string representation of the location
415 public function __toString(): string {