mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-19 12:34:01 +00:00
20 lines
465 B
PHP
20 lines
465 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Companies;
|
|
|
|
use App\Classes\Modules\Companies\ControllersLogic\FetchCompanyLogic;
|
|
use Illuminate\Http\JsonResponse;
|
|
use Illuminate\Http\Request;
|
|
|
|
class FetchCompanyController
|
|
{
|
|
/**
|
|
* @param Request $request
|
|
* @param FetchCompanyLogic $logic
|
|
* @return JsonResponse
|
|
*/
|
|
public function fetch(Request $request, FetchCompanyLogic $logic): JsonResponse {
|
|
return $logic->execute($request);
|
|
}
|
|
|
|
} |