예제 #1
0
파일: Customer.php 프로젝트: blab2015/seh
 /**
  * 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;
 }