. */ declare(strict_types=1); namespace FireflyIII\Events; use FireflyIII\Models\TransactionJournal; use Illuminate\Queue\SerializesModels; /** * @codeCoverageIgnore * Class StoredTransactionJournal. */ class StoredTransactionJournal extends Event { use SerializesModels; /** @var TransactionJournal */ public $journal; /** @var int */ public $piggyBankId; /** * Create a new event instance. * * @param TransactionJournal $journal * @param int $piggyBankId */ public function __construct(TransactionJournal $journal, int $piggyBankId) { $this->journal = $journal; $this->piggyBankId = $piggyBankId; } }