app->singleton(TwoFAccountService::class, function ($app) { return new TwoFAccountService($app->make(MigratorFactoryInterface::class)); }); $this->app->singleton(SettingService::class, function () { return new SettingService(); }); $this->app->singleton(LogoService::class, function () { return new LogoService(); }); $this->app->singleton(ReleaseRadarService::class, function () { return new ReleaseRadarService(); }); } /** * Bootstrap services. * * @return void */ public function boot() { // } /** * Get the services provided by the provider. * * @return array */ public function provides() { return [ LogoService::class, ReleaseRadarService::class, ]; } }