user, new ActivityLogNotifyer($activity_log, 'complete'));; } /** * Send the notification to the users after verify. * * @param ActivityLog $activity_log * * @return void */ public function verify(ActivityLog $activity_log) { return Notification::send($activity_log->user, new ActivityLogNotifyer($activity_log, 'verify'));; } /** * Send the notification to the users after approve. * * @param ActivityLog $activity_log * * @return void */ public function approve(ActivityLog $activity_log) { return Notification::send($activity_log->user, new ActivityLogNotifyer($activity_log, 'approve'));; } /** * Send the notification to the users after publish. * * @param ActivityLog $activity_log * * @return void */ public function publish(ActivityLog $activity_log) { return Notification::send($activity_log->user, new ActivityLogNotifyer($activity_log, 'publish'));; } /** * Send the notification to the users after archive. * * @param ActivityLog $activity_log * * @return void */ public function archive(ActivityLog $activity_log) { return Notification::send($activity_log->user, new ActivityLogNotifyer($activity_log, 'archive'));; } /** * Send the notification to the users after unpublish. * * @param ActivityLog $activity_log * * @return void */ public function unpublish(ActivityLog $activity_log) { return Notification::send($activity_log->user, new ActivityLogNotifyer($activity_log, 'unpublish'));; } }