자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
/** * Add new tags and detach old tags (sync tags) * */ private function syncTags(Item $item, array $tags) { $item->tags()->sync($tags); }
/** * Add new tags and detach old tags (sync tags) * */ private function syncTags(Item $item, array $tags) { $item->tags()->sync($tags); }