class CancelJobParameters in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.3 vendor/smartling/api-sdk-php/src/Jobs/Params/CancelJobParameters.php \Smartling\Jobs\Params\CancelJobParameters
Class CancelJobParameters @package Jobs\Params
Hierarchy
- class \Smartling\Parameters\BaseParameters implements ParameterInterface
- class \Smartling\Jobs\Params\CancelJobParameters
Expanded class hierarchy of CancelJobParameters
4 files declare their use of CancelJobParameters
- JobsApi.php in vendor/
smartling/ api-sdk-php/ src/ Jobs/ JobsApi.php - JobsApiFunctionalTest.php in vendor/
smartling/ api-sdk-php/ tests/ functional/ JobsApiFunctionalTest.php - JobsApiTest.php in vendor/
smartling/ api-sdk-php/ tests/ unit/ JobsApiTest.php - SmartlingApiWrapper.php in src/
Smartling/ SmartlingApiWrapper.php - SmartlingApiWrapper.php.
File
- vendor/
smartling/ api-sdk-php/ src/ Jobs/ Params/ CancelJobParameters.php, line 11
Namespace
Smartling\Jobs\ParamsView source
class CancelJobParameters extends BaseParameters {
/**
* @param string $reason
*/
public function setReason($reason) {
if (mb_strlen($reason, 'UTF-8') > 4096) {
throw new \InvalidArgumentException('Reason should be less or equal to 4096 characters.');
}
$this
->set('reason', $reason);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseParameters:: |
protected | property | ||
BaseParameters:: |
public | function |
@inheritdoc Overrides ParameterInterface:: |
1 |
BaseParameters:: |
public | function |
@inheritdoc Overrides ParameterInterface:: |
|
CancelJobParameters:: |
public | function |