app->singleton(ReceiveTasksRepository::class, function ($app) { return new ReceiveTasksRepository(); }); } /** * Bootstrap any application services. */ public function boot(): void { View::composer( ['workstations.start', 'workstations.workstations'], WorkstationComposer::class ); } }