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