2016-01-12 14:38:12 -06:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* FireRulesForUpdate.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\Handlers\Events;
|
|
|
|
use FireflyIII\Events\TransactionJournalUpdated;
|
2016-01-12 22:37:25 -06:00
|
|
|
use Log;
|
2016-01-12 14:38:12 -06:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Class FireRulesForUpdate
|
|
|
|
*
|
|
|
|
* @package FireflyIII\Handlers\Events
|
|
|
|
*/
|
|
|
|
class FireRulesForUpdate
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Create the event handler.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
//
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Handle the event.
|
|
|
|
*
|
|
|
|
* @param TransactionJournalUpdated $event
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function handle(TransactionJournalUpdated $event)
|
|
|
|
{
|
2016-01-12 22:37:25 -06:00
|
|
|
Log::debug('Fire rules for update!');
|
2016-01-12 14:38:12 -06:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|