code: protected function sendConfirmationToUser($user)
      {
          // Create the confirmation code
          $user->confirmation_code = str_random(25);
          $user->save();
  
          // Notify the user
          $notification = app(config('confirmation.notification'));
          $user->notify($notification);
      }
docs: Send the confirmation code to a user.
  
  @param $user