snipe-it/app/Events/CheckoutableCheckedOut.php

31 lines
653 B
PHP
Raw Normal View History

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