23 lines
479 B
PHP
23 lines
479 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\Event;
|
|
use Illuminate\Broadcasting\InteractsWithSockets;
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class GuestPhotoUploaded
|
|
{
|
|
use Dispatchable;
|
|
use InteractsWithSockets;
|
|
use SerializesModels;
|
|
|
|
public function __construct(
|
|
public Event $event,
|
|
public int $photoId,
|
|
public string $guestIdentifier,
|
|
public ?string $guestName = null,
|
|
) {}
|
|
}
|