*/
private $temperaturemax;
+ /**
+ * @var \DateTime
+ */
+ private $locked;
+
/**
* @var \DateTime
*/
$this->start = clone $this->date;
//Check if after slot
- if ($this->slot->getTitle() == 'After') {
+ //XXX: id=4 <=> title=After
+ if ($this->slot->getId() == 4) {
//Add one day
$this->start->add(new \DateInterval('P1D'));
}
return $this->temperaturemax;
}
+ /**
+ * Set locked
+ *
+ * @param \DateTime $locked
+ *
+ * @return Session
+ */
+ public function setLocked($locked) {
+ $this->locked = $locked;
+
+ return $this;
+ }
+
+ /**
+ * Get locked
+ *
+ * @return \DateTime
+ */
+ public function getLocked() {
+ return $this->locked;
+ }
+
/**
* Set created
*