TranslationRequestParamsAbstract.php in TMGMT Translator Smartling 8.3
File
vendor/smartling/api-sdk-php/src/TranslationRequests/Params/TranslationRequestParamsAbstract.php
View source
<?php
namespace Smartling\TranslationRequests\Params;
class TranslationRequestParamsAbstract extends ParamsAbstract {
public function setTitle($title) {
$this
->set('title', (string) $title);
return $this;
}
public function setContentHash($contentHash) {
$this
->set('contentHash', (string) $contentHash);
return $this;
}
public function setOutdated($outdated) {
$this
->set('outdated', $outdated);
return $this;
}
public function setTotalWordCount($totalWordCount) {
$this
->set('totalWordCount', (int) $totalWordCount);
return $this;
}
public function setTotalStringCount($totalStringCount) {
$this
->set('totalStringCount', (int) $totalStringCount);
return $this;
}
public function setCustomOriginalData(array $customOriginalData = []) {
$this
->set('customOriginalData', $customOriginalData);
return $this;
}
}