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