Files
phpvms/app/Events/UserRegistered.php
2018-03-19 20:50:40 -05:00

29 lines
511 B
PHP

<?php
namespace App\Events;
use App\Models\User;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
/**
* Class UserRegistered
* @package App\Events
*/
class UserRegistered
{
use Dispatchable, InteractsWithSockets, SerializesModels;
public $user;
/**
* UserRegistered constructor.
* @param User $user
*/
public function __construct(User $user)
{
$this->user = $user;
}
}