mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 12:34:03 +00:00
30 lines
536 B
PHP
30 lines
536 B
PHP
<?php
|
|
|
|
namespace App\Modules\ControllerLogic\Contacts;
|
|
|
|
|
|
use App\Classes\Modules\Contacts\Services\DeletesContact;
|
|
|
|
class DeleteContactLogic
|
|
{
|
|
|
|
/** @var DeletesContact */
|
|
private $DeletesContact;
|
|
|
|
/**
|
|
* DeleteContactLogic constructor.
|
|
* @param DeletesContact $DeletesContact
|
|
*/
|
|
public function __construct(DeletesContact $DeletesContact)
|
|
{
|
|
$this->DeletesContact = $DeletesContact;
|
|
}
|
|
|
|
|
|
public function execute(String $id){
|
|
return $this->DeletesContact->execute($id);
|
|
}
|
|
|
|
}
|
|
|