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

25 lines
428 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.
*
2018-02-16 16:25:35 +08:00
* @param string $type Which type of user profile was updated.
* @param User $user
2016-11-18 23:06:15 +08:00
* @return void
*/
public function __construct($type, User $user)
{
$this->type = $type;
$this->user = $user;
}
}