Added user create and update events..
This commit is contained in:
24
app/Events/Auth/UserCreated.php
Normal file
24
app/Events/Auth/UserCreated.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Events\Auth;
|
||||
|
||||
use App\Abstracts\Event;
|
||||
|
||||
class UserCreated extends Event
|
||||
{
|
||||
public $user;
|
||||
|
||||
public $request;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param $user
|
||||
* @param $request
|
||||
*/
|
||||
public function __construct($user, $request)
|
||||
{
|
||||
$this->user = $user;
|
||||
$this->request = $request;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user