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