mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-15 06:09:58 +08:00
27 lines
399 B
PHP
27 lines
399 B
PHP
<?php
|
|
|
|
namespace App\Events;
|
|
|
|
use App\Models\User;
|
|
use Illuminate\Queue\SerializesModels;
|
|
|
|
class UserProfileUpdated extends Event
|
|
{
|
|
use SerializesModels;
|
|
|
|
public $type;
|
|
public $user;
|
|
|
|
/**
|
|
* Create a new event instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct($type, User $user)
|
|
{
|
|
$this->type = $type;
|
|
$this->user = $user;
|
|
}
|
|
|
|
}
|