<?php

namespace App\Http\Controllers\PackingLists\Packages\items;

use App\Classes\Modules\PackageItems\ControllersLogic\FetchPackageItemLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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

}
