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