3 namespace Rapsys\AirBundle\Entity
;
56 * @var \Doctrine\Common\Collections\Collection
63 public function __construct()
65 $this->sessions
= new \Doctrine\Common\Collections\
ArrayCollection();
73 public function getId()
81 * @param string $title
85 public function setTitle($title)
87 $this->title
= $title;
97 public function getTitle()
105 * @param string $address
109 public function setAddress($address)
111 $this->address
= $address;
121 public function getAddress()
123 return $this->address
;
129 * @param string $zipcode
133 public function setZipcode($zipcode)
135 $this->zipcode
= $zipcode;
145 public function getZipcode()
147 return $this->zipcode
;
153 * @param string $city
157 public function setCity($city)
169 public function getCity()
177 * @param string $latitude
181 public function setLatitude($latitude)
183 $this->latitude
= $latitude;
193 public function getLatitude()
195 return $this->latitude
;
201 * @param string $longitude
205 public function setLongitude($longitude)
207 $this->longitude
= $longitude;
217 public function getLongitude()
219 return $this->longitude
;
225 * @param \DateTime $created
229 public function setCreated($created)
231 $this->created
= $created;
241 public function getCreated()
243 return $this->created
;
249 * @param \DateTime $updated
253 public function setUpdated($updated)
255 $this->updated
= $updated;
265 public function getUpdated()
267 return $this->updated
;
273 * @param \Rapsys\AirBundle\Entity\Session $session
277 public function addSession(\Rapsys\AirBundle\Entity\Session
$session)
279 $this->sessions
[] = $session;
287 * @param \Rapsys\AirBundle\Entity\Session $session
289 public function removeSession(\Rapsys\AirBundle\Entity\Session
$session)
291 $this->sessions
->removeElement($session);
297 * @return \Doctrine\Common\Collections\Collection
299 public function getSessions()
301 return $this->sessions
;