You are here

public function CreateRecordParameters::setClientData in TMGMT Translator Smartling 8.4

Same name and namespace in other branches
  1. 8.3 vendor/smartling/api-sdk-php/src/AuditLog/Params/CreateRecordParameters.php \Smartling\AuditLog\Params\CreateRecordParameters::setClientData()

File

vendor/smartling/api-sdk-php/src/AuditLog/Params/CreateRecordParameters.php, line 134

Class

CreateRecordParameters

Namespace

Smartling\AuditLog\Params

Code

public function setClientData($key, $value) {
  if (empty($this->params['clientData'])) {
    $this->params['clientData'] = [];
  }
  $this->params['clientData'] += [
    $key => $value,
  ];
  return $this;
}