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

27 lines
399 B
PHP
Raw Normal View History

2016-11-18 23:06:15 +08:00
<?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;
}
}