3 namespace Rapsys\AirBundle\Entity
;
65 * @var \Doctrine\Common\Collections\Collection
70 * @var \Doctrine\Common\Collections\Collection
77 public function __construct() {
78 $this->sessions
= new \Doctrine\Common\Collections\
ArrayCollection();
79 $this->snippets
= new \Doctrine\Common\Collections\
ArrayCollection();
87 public function getId() {
94 * @param string $title
98 public function setTitle($title) {
99 $this->title
= $title;
109 public function getTitle() {
116 * @param string $short
120 public function setShort($short) {
121 $this->short
= $short;
131 public function getShort() {
138 * @param string $address
142 public function setAddress($address) {
143 $this->address
= $address;
153 public function getAddress() {
154 return $this->address
;
160 * @param string $zipcode
164 public function setZipcode($zipcode) {
165 $this->zipcode
= $zipcode;
175 public function getZipcode() {
176 return $this->zipcode
;
182 * @param string $city
186 public function setCity($city) {
197 public function getCity() {
204 * @param string $latitude
208 public function setLatitude($latitude) {
209 $this->latitude
= $latitude;
219 public function getLatitude() {
220 return $this->latitude
;
226 * @param string $longitude
230 public function setLongitude($longitude) {
231 $this->longitude
= $longitude;
241 public function getLongitude() {
242 return $this->longitude
;
248 * @param boolean $hotspot
252 public function setHotspot($hotspot) {
253 $this->hotspot
= $hotspot;
263 public function getHotspot() {
264 return $this->hotspot
;
270 * @param \DateTime $created
274 public function setCreated($created) {
275 $this->created
= $created;
285 public function getCreated() {
286 return $this->created
;
292 * @param \DateTime $updated
296 public function setUpdated($updated) {
297 $this->updated
= $updated;
307 public function getUpdated() {
308 return $this->updated
;
314 * @param \Rapsys\AirBundle\Entity\Session $session
318 public function addSession(\Rapsys\AirBundle\Entity\Session
$session) {
319 $this->sessions
[] = $session;
327 * @param \Rapsys\AirBundle\Entity\Session $session
329 public function removeSession(\Rapsys\AirBundle\Entity\Session
$session) {
330 $this->sessions
->removeElement($session);
336 * @return \Doctrine\Common\Collections\Collection
338 public function getSessions() {
339 return $this->sessions
;
345 * @param \Rapsys\AirBundle\Entity\Snippet $snippet
349 public function addSnippet(\Rapsys\AirBundle\Entity\Snippet
$snippet) {
350 $this->snippets
[] = $snippet;
358 * @param \Rapsys\AirBundle\Entity\Snippet $snippet
360 public function removeSnippet(\Rapsys\AirBundle\Entity\Snippet
$snippet) {
361 $this->snippets
->removeElement($snippet);
367 * @return \Doctrine\Common\Collections\Collection
369 public function getSnippets() {
370 return $this->snippets
;
374 * Returns a string representation of the location
378 public function __toString(): string {