Example #1
0
 public function getHotels()
 {
     return $this->hasMany(Hotel::className(), ['id_location' => 'id']);
 }