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