<?php

namespace App\Events;

use App\Models\User;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class PasswordRecovered {
    use Dispatchable, InteractsWithSockets, SerializesModels;

    public User $user;
    public string $password;

    public function __construct(User $user, string $password) {
        $this->user = $user;
        $this->password = $password;
    }
}
