<?php

namespace App\Classes\Modules\Unity\Processors;

use Config;
use Illuminate\Support\Facades\Http;
use App\Classes\Modules\Unity\Services\CreatesContractEntity;
use App\Classes\Modules\Companies\Services\FetchesCompany;
use Illuminate\Http\Request;

class CreateContractEntityProcessor
{
    private $createsContractEntity;

    private $fetchesCompany;

    public function __construct(CreatesContractEntity $createsContractEntity, FetchesCompany $fetchesCompany)
    {
        $this->createsContractEntity = $createsContractEntity;
        $this->fetchesCompany = $fetchesCompany;
    }

    public function execute(string $new_contract_id, string $entity_hash_ids){
        return $this->createsContractEntity->execute($new_contract_id, $entity_hash_ids);
    }
}
