From 50e5c2173543fcbe97da963e5e1dd1eb731d0c0f Mon Sep 17 00:00:00 2001 From: Robert Horlings Date: Thu, 18 Feb 2016 20:01:53 +0100 Subject: [PATCH] Moved JournalCollector to other package to encourage reuse --- app/Export/Processor.php | 2 +- app/{Export => Repositories/Journal}/JournalCollector.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename app/{Export => Repositories/Journal}/JournalCollector.php (97%) diff --git a/app/Export/Processor.php b/app/Export/Processor.php index b1092a71c9..9f59c7e2b4 100644 --- a/app/Export/Processor.php +++ b/app/Export/Processor.php @@ -86,7 +86,7 @@ class Processor public function collectJournals() { $args = [$this->accounts, Auth::user(), $this->settings['startDate'], $this->settings['endDate']]; - $journalCollector = app('FireflyIII\Export\JournalCollector', $args); + $journalCollector = app('FireflyIII\Repositories\Journal\JournalCollector', $args); $this->journals = $journalCollector->collect(); } diff --git a/app/Export/JournalCollector.php b/app/Repositories/Journal/JournalCollector.php similarity index 97% rename from app/Export/JournalCollector.php rename to app/Repositories/Journal/JournalCollector.php index 14cb30f654..f1e15fdd32 100644 --- a/app/Export/JournalCollector.php +++ b/app/Repositories/Journal/JournalCollector.php @@ -8,7 +8,7 @@ declare(strict_types = 1); * of the MIT license. See the LICENSE file for details. */ -namespace FireflyIII\Export; +namespace FireflyIII\Repositories\Journal; use Carbon\Carbon; use FireflyIII\User;