App\Events\UserProfileUpdated::__construct PHP Method

__construct() public method

Create a new event instance.
public __construct ( $type, User $user ) : void
$user app\models\User
return void
    public function __construct($type, User $user)
    {
        $this->type = $type;
        $this->user = $user;
    }
UserProfileUpdated