app->singleton( DomainEventDispatcher::class, LaravelDomainEventDispatcher::class ); $this->app->bind( OrderRepository::class, EloquentOrderRepository::class ); $this->app->bind( PickupExceptionRepository::class, EloquentPickupExceptionRepository::class ); $this->app->bind( ShopperRepository::class, EloquentShopperRepository::class ); $this->app->bind( ShopRepository::class, EloquentShopRepository::class ); $this->app->bind( EmployeeStatisticsService::class, EloquentEmployeeStatisticsService::class ); $this->app->bind( ShopDirectory::class, EloquentShopDirectory::class ); $this->app->bind( AdminAuthenticationService::class, AppAdminAuthService::class ); $this->app->bind( CustomerAuthenticationService::class, AppCustomerAuthService::class ); $this->app->bind( ProductRepository::class, EloquentProductRepository::class ); $this->app->bind( BasketRepository::class, SessionBasketRepository::class ); $this->app->bind( TransactionManager::class, LaravelTransactionManager::class ); $this->app->bind( CodeDirectory::class, EloquentCodeDirectory::class ); $this->app->bind( EmployeeImportStorageService::class, EloquentEmployeeImportStorageService::class ); $this->app->bind( CsvGenerator::class, CsvGeneratorImpl::class ); } /** * Bootstrap any application services. */ public function boot(): void { // } }