mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-20 19:05:55 -08:00
32 lines
658 B
PHP
32 lines
658 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Events;
|
||
|
|
||
|
use App\Models\Actionlog;
|
||
|
use App\Models\License;
|
||
|
use App\Models\User;
|
||
|
use Illuminate\Broadcasting\Channel;
|
||
|
use Illuminate\Foundation\Events\Dispatchable;
|
||
|
use Illuminate\Queue\SerializesModels;
|
||
|
|
||
|
class LicenseCheckedOut
|
||
|
{
|
||
|
use Dispatchable, SerializesModels;
|
||
|
|
||
|
public $license;
|
||
|
public $checkedOutTo;
|
||
|
public $logEntry;
|
||
|
|
||
|
/**
|
||
|
* Create a new event instance.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function __construct(License $license, $checkedOutTo, Actionlog $logEntry)
|
||
|
{
|
||
|
$this->license = $license;
|
||
|
$this->checkedOutTo = $checkedOutTo;
|
||
|
$this->logEntry = $logEntry;
|
||
|
}
|
||
|
}
|