From 390cace775647ffce77a14b557db91894c10704d Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 27 Jan 2016 20:45:05 +0100 Subject: [PATCH] New account report helper to make the report helper a lot lighter. --- app/Helpers/Report/AccountReportHelper.php | 21 +++++++++++++++++++ .../Report/AccountReportHelperInterface.php | 20 ++++++++++++++++++ app/Providers/FireflyServiceProvider.php | 4 ++++ 3 files changed, 45 insertions(+) create mode 100644 app/Helpers/Report/AccountReportHelper.php create mode 100644 app/Helpers/Report/AccountReportHelperInterface.php diff --git a/app/Helpers/Report/AccountReportHelper.php b/app/Helpers/Report/AccountReportHelper.php new file mode 100644 index 0000000000..e982fcc35a --- /dev/null +++ b/app/Helpers/Report/AccountReportHelper.php @@ -0,0 +1,21 @@ +app->bind('FireflyIII\Helpers\Report\ReportQueryInterface', 'FireflyIII\Helpers\Report\ReportQuery'); $this->app->bind('FireflyIII\Helpers\FiscalHelperInterface', 'FireflyIII\Helpers\FiscalHelper'); + // better report helper interfaces: + $this->app->bind('FireflyIII\Helpers\Report\AccountReportHelperInterface', 'FireflyIII\Helpers\Report\AccountReportHelper'); + + }