phpvms/app/Events/PirepAccepted.php

29 lines
500 B
PHP
Raw Normal View History

2017-12-03 00:55:17 +08:00
<?php
namespace App\Events;
use App\Models\Pirep;
use Illuminate\Broadcasting\InteractsWithSockets;
2018-02-21 12:33:09 +08:00
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
2017-12-03 00:55:17 +08:00
/**
* Class PirepAccepted
*/
2017-12-03 00:55:17 +08:00
class PirepAccepted
{
use Dispatchable, InteractsWithSockets, SerializesModels;
public $pirep;
/**
* PirepAccepted constructor.
2018-08-27 00:40:04 +08:00
*
* @param Pirep $pirep
*/
2017-12-03 00:55:17 +08:00
public function __construct(Pirep $pirep)
{
$this->pirep = $pirep;
2017-12-03 00:55:17 +08:00
}
}