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