mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
25 lines
428 B
PHP
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;
|
|
}
|
|
}
|