1 | <?php |
||
2 | declare(strict_types=1); |
||
3 | /** |
||
4 | * RequestedVersionCheckStatus.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 | |||
24 | namespace FireflyIII\Events; |
||
25 | |||
26 | use FireflyIII\User; |
||
27 | use Illuminate\Queue\SerializesModels; |
||
28 | |||
29 | |||
30 | /** |
||
31 | * Class RequestedVersionCheckStatus |
||
32 | */ |
||
33 | class RequestedVersionCheckStatus extends Event |
||
34 | { |
||
35 | use SerializesModels; |
||
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
36 | |||
37 | /** |
||
38 | * @var User |
||
39 | */ |
||
40 | public $user; |
||
41 | |||
42 | /** |
||
43 | * Create a new event instance. This event is triggered when Firefly III wants to know |
||
44 | * what the deal is with the version checker. |
||
45 | * |
||
46 | * @param User $user |
||
47 | */ |
||
48 | public function __construct(User $user) |
||
49 | { |
||
50 | $this->user = $user; |
||
51 | } |
||
52 | } |
||
53 |