ldc-supportweb/app/Events/NotifySubscriptions.php

33 lines
616 B
PHP
Raw Normal View History

<?php
namespace App\Events;
2021-04-18 20:31:07 +02:00
use App\Models\Ticket;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class NotifySubscriptions
{
2021-04-18 20:31:07 +02:00
use Dispatchable;
use InteractsWithSockets;
use SerializesModels;
2021-04-18 20:31:07 +02:00
/** @var Ticket */
public $ticket;
/** @var string */
public $corpsMaj;
/**
* Create a new event instance.
*
* @return void
*/
2021-04-18 20:31:07 +02:00
public function __construct(Ticket $ticket, string $corpsMaj)
{
$this->ticket = $ticket;
$this->corpsMaj = $corpsMaj;
}
}