mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-05 21:53:08 -06:00
Rename another collector.
This commit is contained in:
parent
4b947638a7
commit
05dbd30bbd
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* JournalCollector.php
|
* JournalExportCollector.php
|
||||||
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
||||||
*
|
*
|
||||||
* This software may be modified and distributed under the terms of the
|
* This software may be modified and distributed under the terms of the
|
||||||
@ -21,11 +21,11 @@ use Illuminate\Database\Query\JoinClause;
|
|||||||
use Illuminate\Support\Collection;
|
use Illuminate\Support\Collection;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class JournalCollector
|
* Class JournalExportCollector
|
||||||
*
|
*
|
||||||
* @package FireflyIII\Export\Collector
|
* @package FireflyIII\Export\Collector
|
||||||
*/
|
*/
|
||||||
class JournalCollector extends BasicCollector implements CollectorInterface
|
class JournalExportCollector extends BasicCollector implements CollectorInterface
|
||||||
{
|
{
|
||||||
/** @var Collection */
|
/** @var Collection */
|
||||||
private $accounts;
|
private $accounts;
|
@ -15,7 +15,7 @@ namespace FireflyIII\Export;
|
|||||||
|
|
||||||
use FireflyIII\Exceptions\FireflyException;
|
use FireflyIII\Exceptions\FireflyException;
|
||||||
use FireflyIII\Export\Collector\AttachmentCollector;
|
use FireflyIII\Export\Collector\AttachmentCollector;
|
||||||
use FireflyIII\Export\Collector\JournalCollector;
|
use FireflyIII\Export\Collector\JournalExportCollector;
|
||||||
use FireflyIII\Export\Collector\UploadCollector;
|
use FireflyIII\Export\Collector\UploadCollector;
|
||||||
use FireflyIII\Export\Entry\Entry;
|
use FireflyIII\Export\Entry\Entry;
|
||||||
use FireflyIII\Models\ExportJob;
|
use FireflyIII\Models\ExportJob;
|
||||||
@ -93,8 +93,8 @@ class Processor
|
|||||||
*/
|
*/
|
||||||
public function collectJournals(): bool
|
public function collectJournals(): bool
|
||||||
{
|
{
|
||||||
/** @var JournalCollector $collector */
|
/** @var JournalExportCollector $collector */
|
||||||
$collector = app(JournalCollector::class, [$this->job]);
|
$collector = app(JournalExportCollector::class, [$this->job]);
|
||||||
$collector->setDates($this->settings['startDate'], $this->settings['endDate']);
|
$collector->setDates($this->settings['startDate'], $this->settings['endDate']);
|
||||||
$collector->setAccounts($this->settings['accounts']);
|
$collector->setAccounts($this->settings['accounts']);
|
||||||
$collector->run();
|
$collector->run();
|
||||||
|
Loading…
Reference in New Issue
Block a user