2016-10-17 17:51:51 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Events;
|
|
|
|
|
2016-11-17 17:32:12 +08:00
|
|
|
use App\Models\User;
|
2016-10-17 17:51:51 +08:00
|
|
|
|
|
|
|
class UserLoggedIn extends Event
|
|
|
|
{
|
|
|
|
public $user;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Create a new event instance.
|
|
|
|
*
|
2018-02-16 16:25:35 +08:00
|
|
|
* @param User $user
|
2016-10-17 17:51:51 +08:00
|
|
|
* @return void
|
|
|
|
*/
|
2016-11-17 17:32:12 +08:00
|
|
|
public function __construct(User $user)
|
2016-10-17 17:51:51 +08:00
|
|
|
{
|
|
|
|
$this->user = $user;
|
|
|
|
}
|
|
|
|
}
|