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