mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-31 19:27:51 -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;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|