mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-22 14:04:21 +00:00
Created contract at Unity
This commit is contained in:
@@ -4,18 +4,18 @@ namespace App\Classes\Modules\Unity\Processors;
|
||||
|
||||
use Config;
|
||||
use Illuminate\Support\Facades\Http;
|
||||
use App\Classes\Modules\Unity\Services\GetContractObligations;
|
||||
use App\Classes\Modules\Unity\Services\CreatesContract;
|
||||
|
||||
class CreateContractProcessor
|
||||
{
|
||||
private $getContractObligations;
|
||||
private $createsContract;
|
||||
|
||||
public function __construct(GetContractObligations $getContractObligations)
|
||||
public function __construct(CreatesContract $createsContract)
|
||||
{
|
||||
$this->getContractObligations = $getContractObligations;
|
||||
$this->createsContract = $createsContract;
|
||||
}
|
||||
|
||||
public function execute(){
|
||||
return $this->getContractObligations->execute();
|
||||
return $this->createsContract->execute();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user