2016-05-17 08:19:07 -05:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* TransactionStored.php
|
|
|
|
* Copyright (C) 2016 thegrumpydictator@gmail.com
|
|
|
|
*
|
|
|
|
* This software may be modified and distributed under the terms
|
|
|
|
* of the MIT license. See the LICENSE file for details.
|
|
|
|
*/
|
|
|
|
|
2016-05-20 05:27:31 -05:00
|
|
|
declare(strict_types = 1);
|
2016-05-20 01:57:45 -05:00
|
|
|
|
2016-05-17 08:19:07 -05:00
|
|
|
namespace FireflyIII\Events;
|
|
|
|
|
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class TransactionJournalStored
|
|
|
|
*
|
|
|
|
* @package FireflyIII\Events
|
|
|
|
*/
|
|
|
|
class TransactionStored extends Event
|
|
|
|
{
|
|
|
|
|
|
|
|
use SerializesModels;
|
|
|
|
|
|
|
|
public $transaction = [];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new event instance.
|
|
|
|
*
|
|
|
|
* @param array $transaction
|
|
|
|
*/
|
|
|
|
public function __construct(array $transaction)
|
|
|
|
{
|
|
|
|
//
|
|
|
|
$this->transaction = $transaction;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|