blessing-skin-server/app/Events/UserProfileUpdated.php

25 lines
405 B
PHP
Raw Normal View History

2016-11-18 23:06:15 +08:00
<?php
namespace App\Events;
use App\Models\User;
class UserProfileUpdated extends Event
{
public $type;
public $user;
/**
* Create a new event instance.
*
2019-12-14 11:10:37 +08:00
* @param string $type which type of user profile was updated
*
2016-11-18 23:06:15 +08:00
* @return void
*/
public function __construct($type, User $user)
{
$this->type = $type;
$this->user = $user;
}
}