/** * Adds a Hotel. * * @param Hotel $hotel * @return $this For fluid purposes. */ public function addHotel(\Seh\Bundle\SehBundle\Entity\Hotel $hotel) { if (!$this->hotels->contains($hotel)) { $this->hotels->add($hotel); } return $this; }