mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-21 22:13:11 -06:00
32 lines
489 B
PHP
32 lines
489 B
PHP
|
<?php namespace FireflyIII\Events;
|
||
|
|
||
|
use FireflyIII\Events\Event;
|
||
|
|
||
|
use FireflyIII\Models\TransactionJournal;
|
||
|
use Illuminate\Queue\SerializesModels;
|
||
|
|
||
|
class JournalCreated extends Event {
|
||
|
|
||
|
use SerializesModels;
|
||
|
|
||
|
public $journal;
|
||
|
public $piggyBankId;
|
||
|
|
||
|
/**
|
||
|
* Create a new event instance.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function __construct(TransactionJournal $journal, $piggyBankId)
|
||
|
{
|
||
|
//
|
||
|
$this->journal = $journal;
|
||
|
$this->piggyBankId = $piggyBankId;
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|