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