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