예제 #1
0
파일: Rate.php 프로젝트: blab2015/seh
 /**
  * @param Hotel $hotel
  */
 public function addHotel($hotel)
 {
     $hotel->addRate($this);
     if (!$this->hotels->contains($hotel)) {
         $this->hotels->add($hotel);
     }
     return $this;
 }