Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
New account report helper to make the report helper a lot lighter.
James Cole390cace77564
diff --git a/app/Helpers/Report/AccountReportHelper.php b/app/Helpers/Report/AccountReportHelper.phpnew file mode 100644index 0000000000..e982fcc35a--- /dev/null+++ b/app/Helpers/Report/AccountReportHelper.php@@ -0,0 +1,21 @@+<?php+/**+ * AccountReportHelper.php+ * Copyright (C) 2016 Sander Dorigo+ *+ * This software may be modified and distributed under the terms+ * of the MIT license. See the LICENSE file for details.+ */++namespace FireflyIII\Helpers\Report;+++/**+ * Class AccountReportHelper+ *+ * @package FireflyIII\Helpers\Report+ */+class AccountReportHelper implements AccountReportHelperInterface+{++}\ No newline at end of filediff --git a/app/Helpers/Report/AccountReportHelperInterface.php b/app/Helpers/Report/AccountReportHelperInterface.phpnew file mode 100644index 0000000000..a118995345--- /dev/null+++ b/app/Helpers/Report/AccountReportHelperInterface.php@@ -0,0 +1,20 @@+<?php+/**+ * AccountReportHelperInterface.php+ * Copyright (C) 2016 Sander Dorigo+ *+ * This software may be modified and distributed under the terms+ * of the MIT license. See the LICENSE file for details.+ */++namespace FireflyIII\Helpers\Report;++/**+ * Interface AccountReportHelperInterface+ *+ * @package FireflyIII\Helpers\Report+ */+interface AccountReportHelperInterface+{++}\ No newline at end of filediff --git a/app/Providers/FireflyServiceProvider.php b/app/Providers/FireflyServiceProvider.phpindex adf8486710..68b41bb4f1 100644--- a/app/Providers/FireflyServiceProvider.php+++ b/app/Providers/FireflyServiceProvider.php@@ -115,6 +115,10 @@ class FireflyServiceProvider extends ServiceProvider$this->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');++}