You are here

public function SearchTranslationRequestParams::setOriginalAssetKey in TMGMT Translator Smartling 8.4

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

Parameters

array $originalAssetKey:

Return value

$this

File

vendor/smartling/api-sdk-php/src/TranslationRequests/Params/SearchTranslationRequestParams.php, line 17

Class

SearchTranslationRequestParams
Class SearchTranslationRequestParams @package Smartling\TranslationRequests\Params

Namespace

Smartling\TranslationRequests\Params

Code

public function setOriginalAssetKey(array $originalAssetKey = []) {
  if (0 < count($originalAssetKey)) {
    $this
      ->set('originalAssetKey', json_encode($originalAssetKey));
  }
  return $this;
}