app->bind(MigratorFactoryInterface::class, MigratorFactory::class); $this->app->singleton(GoogleAuthMigrator::class, function () { return new GoogleAuthMigrator; }); $this->app->singleton(AegisMigrator::class, function () { return new AegisMigrator; }); $this->app->singleton(TwoFASMigrator::class, function () { return new TwoFASMigrator; }); $this->app->singleton(PlainTextMigrator::class, function () { return new PlainTextMigrator; }); } /** * Bootstrap services. * * @return void */ public function boot() { // } }