mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-31 19:27:51 -06:00
35 lines
649 B
PHP
35 lines
649 B
PHP
<?php namespace FireflyIII\Events;
|
|
|
|
use FireflyIII\Models\TransactionJournal;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
/**
|
|
* Class JournalCreated
|
|
*
|
|
* @codeCoverageIgnore
|
|
* @package FireflyIII\Events
|
|
*/
|
|
class JournalCreated extends Event
|
|
{
|
|
|
|
use SerializesModels;
|
|
|
|
public $journal;
|
|
public $piggyBankId;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param TransactionJournal $journal
|
|
* @param $piggyBankId
|
|
*/
|
|
public function __construct(TransactionJournal $journal, $piggyBankId)
|
|
{
|
|
//
|
|
$this->journal = $journal;
|
|
$this->piggyBankId = $piggyBankId;
|
|
|
|
}
|
|
|
|
}
|