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\Events\TransactionJournalStored;
|
||||||
use FireflyIII\Models\Rule;
|
use FireflyIII\Models\Rule;
|
||||||
use FireflyIII\Models\RuleGroup;
|
use FireflyIII\Models\RuleGroup;
|
||||||
use FireflyIII\Rules\Processor;
|
use FireflyIII\Rules\TriggerProcessor;
|
||||||
use FireflyIII\User;
|
use FireflyIII\User;
|
||||||
use Illuminate\Database\Eloquent\Relations\HasMany;
|
use Illuminate\Database\Eloquent\Relations\HasMany;
|
||||||
use Illuminate\Support\Facades\Auth;
|
use Illuminate\Support\Facades\Auth;
|
||||||
@ -63,7 +63,7 @@ class FireRulesForStore
|
|||||||
/** @var Rule $rule */
|
/** @var Rule $rule */
|
||||||
foreach ($rules as $rule) {
|
foreach ($rules as $rule) {
|
||||||
Log::debug('Now handling rule #' . $rule->id);
|
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?
|
// get some return out of this?
|
||||||
$processor->handle();
|
$processor->handle();
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Processor.php
|
* TriggerProcessor.php
|
||||||
* Copyright (C) 2016 Sander Dorigo
|
* Copyright (C) 2016 Sander Dorigo
|
||||||
*
|
*
|
||||||
* This software may be modified and distributed under the terms
|
* This software may be modified and distributed under the terms
|
||||||
@ -17,11 +17,11 @@ use FireflyIII\Support\Domain;
|
|||||||
use Log;
|
use Log;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class Processor
|
* Class TriggerProcessor
|
||||||
*
|
*
|
||||||
* @package FireflyIII\Rules
|
* @package FireflyIII\Rules
|
||||||
*/
|
*/
|
||||||
class Processor
|
class TriggerProcessor
|
||||||
{
|
{
|
||||||
/** @var Rule */
|
/** @var Rule */
|
||||||
protected $rule;
|
protected $rule;
|
||||||
@ -32,7 +32,7 @@ class Processor
|
|||||||
private $triggerTypes = [];
|
private $triggerTypes = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Processor constructor.
|
* TriggerProcessor constructor.
|
||||||
*/
|
*/
|
||||||
public function __construct(Rule $rule, TransactionJournal $journal)
|
public function __construct(Rule $rule, TransactionJournal $journal)
|
||||||
{
|
{
|
Loading…
Reference in New Issue
Block a user