2017-12-28 12:03:15 -06:00
|
|
|
<?php
|
2018-05-11 03:08:34 -05:00
|
|
|
|
2017-12-28 12:03:15 -06:00
|
|
|
/**
|
|
|
|
* RequestedVersionCheckStatus.php
|
2018-05-11 03:08:34 -05:00
|
|
|
* Copyright (c) 2018 thegrumpydictator@gmail.com
|
2017-12-28 12:03:15 -06:00
|
|
|
*
|
|
|
|
* This file is part of Firefly III.
|
|
|
|
*
|
|
|
|
* Firefly III is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* Firefly III is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2018-05-11 03:08:34 -05:00
|
|
|
declare(strict_types=1);
|
2017-12-28 12:03:15 -06:00
|
|
|
|
|
|
|
namespace FireflyIII\Events;
|
|
|
|
|
|
|
|
use FireflyIII\User;
|
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class RequestedVersionCheckStatus
|
|
|
|
*/
|
|
|
|
class RequestedVersionCheckStatus extends Event
|
|
|
|
{
|
|
|
|
use SerializesModels;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var User
|
|
|
|
*/
|
|
|
|
public $user;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new event instance. This event is triggered when Firefly III wants to know
|
|
|
|
* what the deal is with the version checker.
|
|
|
|
*
|
|
|
|
* @param User $user
|
|
|
|
*/
|
|
|
|
public function __construct(User $user)
|
|
|
|
{
|
|
|
|
$this->user = $user;
|
|
|
|
}
|
2018-03-05 12:35:58 -06:00
|
|
|
}
|