Files
newznab-tmux-NNTmux/app/Events/UserLoggedIn.php
T
2026-03-11 10:11:30 +01:00

29 lines
527 B
PHP

<?php
declare(strict_types=1);
namespace App\Events;
use App\Models\User;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class UserLoggedIn
{
use Dispatchable, InteractsWithSockets, SerializesModels;
public User $user;
public string $ip;
/**
* Create a new event instance.
*/
public function __construct(User $user, string $ip = '')
{
$this->user = $user;
$this->ip = $ip;
}
}