snipe-it/app/Events/CheckoutableCheckedIn.php

31 lines
657 B
PHP
Raw Normal View History

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