public function UpdateJobParameters::setName in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.3 vendor/smartling/api-sdk-php/src/Jobs/Params/UpdateJobParameters.php \Smartling\Jobs\Params\UpdateJobParameters::setName()
File
- vendor/
smartling/ api-sdk-php/ src/ Jobs/ Params/ UpdateJobParameters.php, line 14
Class
- UpdateJobParameters
- Class UpdateJobParameters @package Jobs\Params
Namespace
Smartling\Jobs\ParamsCode
public function setName($jobName) {
if (mb_strlen($jobName, 'UTF-8') >= 170) {
throw new \InvalidArgumentException('Job name should be less than 170 characters.');
}
$this
->set('jobName', $jobName);
}