prices = new \Doctrine\Common\Collections\ArrayCollection(); } /** * Get id * * @return integer */ public function getId() { return $this->id; } /** * Set fromDate * * @param \DateTime $fromDate * * @return FewoSeason */ public function setFromDate($fromDate) { $this->fromDate = $fromDate; return $this; } /** * Get fromDate * * @return \DateTime */ public function getFromDate() { return $this->fromDate; } /** * Set toDate * * @param \DateTime $toDate * * @return FewoSeason */ public function setToDate($toDate) { $this->toDate = $toDate; return $this; } /** * Get toDate * * @return \DateTime */ public function getToDate() { return $this->toDate; } /** * Set minimumStay * * @param integer $minimumStay * * @return FewoSeason */ public function setMinimumStay($minimumStay) { $this->minimumStay = $minimumStay; return $this; } /** * Get minimumStay * * @return integer */ public function getMinimumStay() { return $this->minimumStay; } /** * Set description * * @param string $description * * @return FewoSeason */ public function setDescription($description) { $this->description = $description; return $this; } /** * Get description * * @return string */ public function getDescription() { return $this->description; } /** * Add price * * @param \AppBundle\Entity\FewoPrice $price * * @return FewoSeason */ public function addPrice(\AppBundle\Entity\FewoPrice $price) { $this->prices[] = $price; return $this; } /** * Remove price * * @param \AppBundle\Entity\FewoPrice $price */ public function removePrice(\AppBundle\Entity\FewoPrice $price) { $this->prices->removeElement($price); } /** * Get prices * * @return \Doctrine\Common\Collections\Collection */ public function getPrices() { return $this->prices; } /** * Set name * * @param string $name * * @return FewoSeason */ public function setName($name) { $this->name = $name; return $this; } /** * Get name * * @return string */ public function getName() { return $this->name; } function __toString() { return $this->name; } /** * Set onlyWeekday * * @param integer $onlyWeekday * * @return FewoSeason */ public function setOnlyWeekday($onlyWeekday) { $this->onlyWeekday = $onlyWeekday; return $this; } /** * Get onlyWeekday * * @return integer */ public function getOnlyWeekday() { return $this->onlyWeekday; } }