import 'package:get/get.dart';
import 'package:tmail_ui_user/features/base/base_bindings.dart';
import 'package:tmail_ui_user/features/mailbox_creator/domain/usecases/verify_name_interactor.dart';
import 'package:tmail_ui_user/features/mailbox_creator/presentation/mailbox_creator_controller.dart';

class MailboxCreatorBindings extends BaseBindings {

  @override
  void bindingsController() {
    Get.lazyPut(() => MailboxCreatorController(Get.find<VerifyNameInteractor>()));
  }

  @override
  void bindingsDataSource() {}

  @override
  void bindingsDataSourceImpl() {}

  @override
  void bindingsInteractor() {
    Get.lazyPut(() => VerifyNameInteractor());
  }

  @override
  void bindingsRepository() {}

  @override
  void bindingsRepositoryImpl() {}

  void dispose() {
    Get.delete<MailboxCreatorController>();
  }
}