<?php

namespace App\Http\Controllers\Orders;

use App\Classes\Modules\Orders\ControllersLogic\FetchOrderV2Logic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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