3 namespace Rapsys\AirBundle\Entity
;
60 * @var \Doctrine\Common\Collections\Collection
67 public function __construct() {
68 $this->sessions
= new \Doctrine\Common\Collections\
ArrayCollection();
76 public function getId() {
83 * @param string $title
87 public function setTitle($title) {
88 $this->title
= $title;
98 public function getTitle() {
105 * @param string $short
109 public function setShort($short) {
110 $this->short
= $short;
120 public function getShort() {
127 * @param string $address
131 public function setAddress($address) {
132 $this->address
= $address;
142 public function getAddress() {
143 return $this->address
;
149 * @param string $zipcode
153 public function setZipcode($zipcode) {
154 $this->zipcode
= $zipcode;
164 public function getZipcode() {
165 return $this->zipcode
;
171 * @param string $city
175 public function setCity($city) {
186 public function getCity() {
193 * @param string $latitude
197 public function setLatitude($latitude) {
198 $this->latitude
= $latitude;
208 public function getLatitude() {
209 return $this->latitude
;
215 * @param string $longitude
219 public function setLongitude($longitude) {
220 $this->longitude
= $longitude;
230 public function getLongitude() {
231 return $this->longitude
;
237 * @param \DateTime $created
241 public function setCreated($created) {
242 $this->created
= $created;
252 public function getCreated() {
253 return $this->created
;
259 * @param \DateTime $updated
263 public function setUpdated($updated) {
264 $this->updated
= $updated;
274 public function getUpdated() {
275 return $this->updated
;
281 * @param \Rapsys\AirBundle\Entity\Session $session
285 public function addSession(\Rapsys\AirBundle\Entity\Session
$session) {
286 $this->sessions
[] = $session;
294 * @param \Rapsys\AirBundle\Entity\Session $session
296 public function removeSession(\Rapsys\AirBundle\Entity\Session
$session) {
297 $this->sessions
->removeElement($session);
303 * @return \Doctrine\Common\Collections\Collection
305 public function getSessions() {
306 return $this->sessions
;
310 * Returns a string representation of the location
314 public function __toString(): string {