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