snipe-it/app/Events/LicenseSeatCheckedIn.php

35 lines
770 B
PHP
Raw Normal View History

2018-07-21 05:00:17 -07:00
<?php
namespace App\Events;
use App\Models\Actionlog;
use App\Models\License;
use App\Models\LicenseSeat;
2018-07-21 05:00:17 -07:00
use App\Models\User;
use Illuminate\Broadcasting\Channel;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class LicenseCheckedIn
{
use Dispatchable, SerializesModels;
public $licenseSeat;
2018-07-21 05:00:17 -07:00
public $checkedOutTo;
public $checkedInBy;
public $note;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct(LicenseSeat $licenseSeat, $checkedOutTo, User $checkedInBy, $note)
2018-07-21 05:00:17 -07:00
{
$this->licenseSeat = $licenseSeat;
2018-07-21 05:00:17 -07:00
$this->checkedOutTo = $checkedOutTo;
$this->checkedInBy = $checkedInBy;
$this->note = $note;
}
}