public function UpdateJobParameters::setDescription 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::setDescription()
File
- vendor/
smartling/ api-sdk-php/ src/ Jobs/ Params/ UpdateJobParameters.php, line 22
Class
- UpdateJobParameters
- Class UpdateJobParameters @package Jobs\Params
Namespace
Smartling\Jobs\ParamsCode
public function setDescription($description) {
if (mb_strlen($description, 'UTF-8') >= 2000) {
throw new \InvalidArgumentException('Job description should be less than 2000 characters.');
}
$this
->set('description', $description);
}