mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-26 08:51:12 -06:00
Rename class.
This commit is contained in:
parent
1087b9f5df
commit
ce250c85fc
@ -13,7 +13,7 @@ namespace FireflyIII\Handlers\Events;
|
||||
use FireflyIII\Events\TransactionJournalStored;
|
||||
use FireflyIII\Models\Rule;
|
||||
use FireflyIII\Models\RuleGroup;
|
||||
use FireflyIII\Rules\Processor;
|
||||
use FireflyIII\Rules\TriggerProcessor;
|
||||
use FireflyIII\User;
|
||||
use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
@ -63,7 +63,7 @@ class FireRulesForStore
|
||||
/** @var Rule $rule */
|
||||
foreach ($rules as $rule) {
|
||||
Log::debug('Now handling rule #' . $rule->id);
|
||||
$processor = new Processor($rule, $event->journal);
|
||||
$processor = new TriggerProcessor($rule, $event->journal);
|
||||
|
||||
// get some return out of this?
|
||||
$processor->handle();
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/**
|
||||
* Processor.php
|
||||
* TriggerProcessor.php
|
||||
* Copyright (C) 2016 Sander Dorigo
|
||||
*
|
||||
* This software may be modified and distributed under the terms
|
||||
@ -17,11 +17,11 @@ use FireflyIII\Support\Domain;
|
||||
use Log;
|
||||
|
||||
/**
|
||||
* Class Processor
|
||||
* Class TriggerProcessor
|
||||
*
|
||||
* @package FireflyIII\Rules
|
||||
*/
|
||||
class Processor
|
||||
class TriggerProcessor
|
||||
{
|
||||
/** @var Rule */
|
||||
protected $rule;
|
||||
@ -32,7 +32,7 @@ class Processor
|
||||
private $triggerTypes = [];
|
||||
|
||||
/**
|
||||
* Processor constructor.
|
||||
* TriggerProcessor constructor.
|
||||
*/
|
||||
public function __construct(Rule $rule, TransactionJournal $journal)
|
||||
{
|
Loading…
Reference in New Issue
Block a user