mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 02:01:33 +00:00
094d683c3b
[ci skip] [skip ci]
35 lines
569 B
PHP
35 lines
569 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use Illuminate\Queue\SerializesModels;
|
|
use Illuminate\Foundation\Events\Dispatchable;
|
|
use Illuminate\Broadcasting\InteractsWithSockets;
|
|
|
|
class UserLoggedIn
|
|
{
|
|
use Dispatchable, InteractsWithSockets, SerializesModels;
|
|
|
|
/**
|
|
* @var \App\Models\User
|
|
*/
|
|
public $user;
|
|
|
|
/**
|
|
* @var
|
|
*/
|
|
public $ip;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @param $user
|
|
* @param $ip
|
|
*/
|
|
public function __construct($user, $ip)
|
|
{
|
|
$this->user = $user;
|
|
$this->ip = $ip;
|
|
}
|
|
}
|