Files
newznab-tmux-NNTmux/app/Events/UserLoggedIn.php
T
2026-02-11 14:02:26 +01:00

26 lines
504 B
PHP

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