public function MatchContextParameters::setOverrideContextOlderThanDays in TMGMT Translator Smartling 8.3
Same name and namespace in other branches
- 8.4 vendor/smartling/api-sdk-php/src/Context/Params/MatchContextParameters.php \Smartling\Context\Params\MatchContextParameters::setOverrideContextOlderThanDays()
File
- vendor/
smartling/ api-sdk-php/ src/ Context/ Params/ MatchContextParameters.php, line 19
Class
- MatchContextParameters
- Class MatchContextParameters @package Context\Params
Namespace
Smartling\Context\ParamsCode
public function setOverrideContextOlderThanDays($days) {
if ($days < 0) {
throw new \InvalidArgumentException('Days value must be grater or equal to zero.');
}
$this
->set('overrideContextOlderThanDays', $days);
}