ldc-supportweb/app/Events/TicketStatusChanged.php

32 lines
578 B
PHP
Raw Normal View History

<?php
namespace App\Events;
2021-07-21 09:44:29 +02:00
use App\Models\Ticket;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class TicketStatusChanged
{
2021-07-21 09:44:29 +02:00
use Dispatchable;
use InteractsWithSockets;
use SerializesModels;
2021-07-21 09:44:29 +02:00
/** @var Ticket */
public $ticket;
public $status;
/**
* Create a new event instance.
*
* @return void
*/
2021-07-21 09:44:29 +02:00
public function __construct(Ticket $ticket, $status)
{
$this->ticket = $ticket;
$this->status = $status;
}
}