/** * Sync up the list of tags in the database * @param $id * @param $request */ private function syncTags(Channel $channel, array $tags) { $channel->tags()->sync($tags); }