<?php

namespace App\Events;

use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class FeedbackSender {
    use Dispatchable, InteractsWithSockets, SerializesModels;

    public string $email;
    public array $data;

    public function __construct(string $email, array $data) {
        $this->email = $email;
        $this->data = $data;
    }
}
