blessing-skin-server/app/Events/UserProfileUpdated.php
2018-02-16 16:29:37 +08:00

25 lines
428 B
PHP

<?php
namespace App\Events;
use App\Models\User;
class UserProfileUpdated extends Event
{
public $type;
public $user;
/**
* Create a new event instance.
*
* @param string $type Which type of user profile was updated.
* @param User $user
* @return void
*/
public function __construct($type, User $user)
{
$this->type = $type;
$this->user = $user;
}
}