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