app->bind( 'preferences', function () { return new Preferences; } ); $this->app->bind( 'fireflyconfig', function () { return new FireflyConfig; } ); $this->app->bind( 'navigation', function () { return new Navigation; } ); $this->app->bind( 'amount', function () { return new Amount; } ); $this->app->bind( 'steam', function () { return new Steam; } ); $this->app->bind( 'expandedform', function () { return new ExpandedForm; } ); // chart generator: $this->app->bind(GeneratorInterface::class, ChartJsGenerator::class); // chart builder $this->app->bind(MetaPieChartInterface::class, MetaPieChart::class); // other generators $this->app->bind(ProcessorInterface::class, Processor::class); $this->app->bind(ImportProcedureInterface::class, ImportProcedure::class); $this->app->bind(UserRepositoryInterface::class, UserRepository::class); $this->app->bind(AttachmentHelperInterface::class, AttachmentHelper::class); // more generators: $this->app->bind(PopupReportInterface::class, PopupReport::class); $this->app->bind(HelpInterface::class, Help::class); $this->app->bind(ReportHelperInterface::class, ReportHelper::class); $this->app->bind(FiscalHelperInterface::class, FiscalHelper::class); $this->app->bind(BalanceReportHelperInterface::class, BalanceReportHelper::class); $this->app->bind(BudgetReportHelperInterface::class, BudgetReportHelper::class); } }