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