<?php

namespace App\Http\Controllers\KeyValuePairs;

use App\Classes\Modules\KeyValuePairs\ControllersLogic\FetchLockLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class FetchLockController
{
    /**
     * @param Request $request
     * @param FetchLockLogic $logic
     * @return JsonResponse
     */
    public function fetch(Request $request, FetchLockLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}
