示例#1
0
 public function syncCountries(Tour $tour, array $countryIds)
 {
     $tour->countries()->sync($countryIds);
 }