You are here

public function UploadContextParameters::setMatchParams in TMGMT Translator Smartling 8.4

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

File

vendor/smartling/api-sdk-php/src/Context/Params/UploadContextParameters.php, line 35

Class

UploadContextParameters
Class UploadContextParameters @package Context\Params

Namespace

Smartling\Context\Params

Code

public function setMatchParams(MatchContextParameters $params) {
  $this
    ->set('matchParams', json_encode($params
    ->exportToArray()));
}