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