mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 12:34:03 +00:00
23 lines
501 B
PHP
23 lines
501 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: user
|
|
* Date: 05/03/2019
|
|
* Time: 2:30 PM
|
|
*/
|
|
|
|
namespace App\Http\Controllers\Contacts;
|
|
|
|
|
|
use App\Classes\Constants;
|
|
use App\Modules\ControllerLogic\Contacts\UpdateContactLogic;
|
|
use Illuminate\Http\Request;
|
|
|
|
class UpdateContactController
|
|
{
|
|
public function update(string $type, string $referenceId, int $id, Request $request, UpdateContactLogic $logic){
|
|
|
|
return $logic->execute($id,$referenceId, Constants::MODULE_TYPES[$type], $request);
|
|
}
|
|
|
|
} |