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