/**
* @var \DateTime
*/
- private $end;
+ private $length;
/**
* @var \DateTime
private $updated;
/**
- * @var \Doctrine\Common\Collections\Collection
+ * @var \Rapsys\AirBundle\Entity\Application
*/
- private $applications;
+ private $application;
/**
* @var \Rapsys\AirBundle\Entity\Location
private $location;
/**
- * @var \Rapsys\AirBundle\Entity\Application
+ * @var \Rapsys\AirBundle\Entity\Slot
*/
- private $application;
+ private $slot;
+
+ /**
+ * @var \Doctrine\Common\Collections\Collection
+ */
+ private $applications;
/**
* Constructor
}
/**
- * Set end
+ * Set length
*
- * @param \DateTime $end
+ * @param \DateTime $length
*
* @return Session
*/
- public function setEnd($end) {
- $this->end = $end;
+ public function setLength($length) {
+ $this->length = $length;
return $this;
}
/**
- * Get end
+ * Get length
*
* @return \DateTime
*/
- public function getEnd() {
- return $this->end;
+ public function getLength() {
+ return $this->length;
}
/**
public function getLocation() {
return $this->location;
}
- /**
- * @var \Rapsys\AirBundle\Entity\Slot
- */
- private $slot;
-
/**
* Set slot