mirror of
https://gitlab.com/omair-personal/izyim.git
synced 2026-08-19 12:24:11 +00:00
15 lines
410 B
PHP
Executable File
15 lines
410 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Http\Controllers\Contacts;
|
|
|
|
use App\Classes\Constants;
|
|
use Illuminate\Http\Request;
|
|
use App\Classes\Modules\ControllerLogic\Contacts\CreateContactLogic;
|
|
|
|
class CreateContactController
|
|
{
|
|
public function create(string $type, int $referencesId, Request $request, CreateContactLogic $logic){
|
|
return $logic->execute(Constants::MODULE_TYPES[$type], $referencesId, $request);
|
|
}
|
|
|
|
} |