<?php

namespace App\Http\Controllers\StandardSegmentConstants;

use App\Classes\Modules\SegmentConstants\ControllersLogic\ListStandardSegmentConstantLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class ListStandardSegmentConstantsController
{
    /**
     * @param Request $request
     * @param ListStandardSegmentConstantLogic $logic
     * @return JsonResponse
     */
    public function list(Request $request, ListStandardSegmentConstantLogic $logic): JsonResponse {
        return $logic->execute($request);
    }

}