1 | <?php |
||
2 | declare(strict_types=1); |
||
3 | /** |
||
4 | * UpdatedTransactionJournal.php |
||
5 | * Copyright (c) 2017 [email protected] |
||
6 | * |
||
7 | * This file is part of Firefly III. |
||
8 | * |
||
9 | * Firefly III is free software: you can redistribute it and/or modify |
||
10 | * it under the terms of the GNU General Public License as published by |
||
11 | * the Free Software Foundation, either version 3 of the License, or |
||
12 | * (at your option) any later version. |
||
13 | * |
||
14 | * Firefly III is distributed in the hope that it will be useful, |
||
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
17 | * GNU General Public License for more details. |
||
18 | * |
||
19 | * You should have received a copy of the GNU General Public License |
||
20 | * along with Firefly III. If not, see <http://www.gnu.org/licenses/>. |
||
21 | */ |
||
22 | |||
23 | namespace FireflyIII\Events; |
||
24 | |||
25 | use FireflyIII\Models\TransactionJournal; |
||
26 | use Illuminate\Queue\SerializesModels; |
||
27 | |||
28 | /** |
||
29 | * Class UpdatedTransactionJournal. |
||
30 | * |
||
31 | * @codeCoverageIgnore |
||
32 | * |
||
33 | */ |
||
34 | class UpdatedTransactionJournal extends Event |
||
35 | { |
||
36 | use SerializesModels; |
||
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
37 | |||
38 | /** @var TransactionJournal */ |
||
39 | public $journal; |
||
40 | |||
41 | /** |
||
42 | * Create a new event instance. |
||
43 | * |
||
44 | * @param TransactionJournal $journal |
||
45 | */ |
||
46 | public function __construct(TransactionJournal $journal) |
||
47 | { |
||
48 | $this->journal = $journal; |
||
49 | } |
||
50 | } |
||
51 |