Created contract at Unity

This commit is contained in:
Fairuz
2021-07-26 13:14:43 +08:00
parent 06de032867
commit fde433d60c
6 changed files with 54 additions and 14 deletions
@@ -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();
}
}