<?php

namespace App\Http\Controllers\Accounts;

use App\Classes\Modules\Accounts\ControllersLogic\LogoutUserLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class UserAuthenticationLogoutController
{

    /**
     * @param Request $request
     * @param LogoutUserLogic $logic
     * @return JsonResponse
     */
    public function logout(Request $request, LogoutUserLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
