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