Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
462 B
PHP
Raw Permalink Normal View History

2019-02-15 09:00:07 -06:00
<?php
namespace App\Events;
use App\Models\User;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class UserCreated
{
use Dispatchable, InteractsWithSockets, SerializesModels;
public $user;
/**
* Create a new event instance.
*
2021-09-08 23:35:56 +02:00
* @param User $user
2019-02-15 09:00:07 -06:00
*/
public function __construct(User $user)
{
$this->user = $user;
}
}