profile_id, $notification->id); } /** * Handle the notification "updated" event. * * @param \App\Notification $notification * @return void */ public function updated(Notification $notification) { NotificationService::set($notification->profile_id, $notification->id); } /** * Handle the notification "deleted" event. * * @param \App\Notification $notification * @return void */ public function deleted(Notification $notification) { NotificationService::del($notification->profile_id, $notification->id); } /** * Handle the notification "restored" event. * * @param \App\Notification $notification * @return void */ public function restored(Notification $notification) { NotificationService::set($notification->profile_id, $notification->id); } /** * Handle the notification "force deleted" event. * * @param \App\Notification $notification * @return void */ public function forceDeleted(Notification $notification) { NotificationService::del($notification->profile_id, $notification->id); } }