mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 12:34:03 +00:00
23 lines
564 B
PHP
Executable File
23 lines
564 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Http\Controllers\Companies;
|
|
|
|
|
|
use App\Classes\Modules\ControllersLogic\Companies\CreateCompanyLogic;
|
|
use Illuminate\Http\JsonResponse;
|
|
use Illuminate\Http\Request;
|
|
|
|
class CreateCompanyController
|
|
{
|
|
|
|
/**
|
|
* @param Request $request
|
|
* @param CreateCompanyLogic $logic
|
|
* @return JsonResponse
|
|
* @throws \App\Classes\Modules\ControllerLogic\Exceptions\InternalServerErrorException
|
|
*/
|
|
public function create(Request $request, CreateCompanyLogic $logic): JsonResponse {
|
|
return $logic->execute($request);
|
|
}
|
|
|
|
} |