示例#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;
 }