mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 22:01:33 +00:00
26 lines
504 B
PHP
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;
|
|
}
|
|
}
|