mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-03 03:00:14 +00:00
47 lines
910 B
PHP
47 lines
910 B
PHP
![]() |
<?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.
|
||
|
*/
|
||
|
|
||
|
declare(strict_types = 1);
|
||
|
/**
|
||
|
* 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.
|
||
|
*/
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
}
|