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