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