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