class MatchContextParameters in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.3 vendor/smartling/api-sdk-php/src/Context/Params/MatchContextParameters.php \Smartling\Context\Params\MatchContextParameters
Class MatchContextParameters @package Context\Params
Hierarchy
- class \Smartling\Parameters\BaseParameters implements ParameterInterface
- class \Smartling\Context\Params\MatchContextParameters
Expanded class hierarchy of MatchContextParameters
5 files declare their use of MatchContextParameters
- context-example.php in vendor/
smartling/ api-sdk-php/ examples/ context-example.php - ContextApi.php in vendor/
smartling/ api-sdk-php/ src/ Context/ ContextApi.php - ContextApiFunctionalTest.php in vendor/
smartling/ api-sdk-php/ tests/ functional/ ContextApiFunctionalTest.php - ContextApiTest.php in vendor/
smartling/ api-sdk-php/ tests/ unit/ ContextApiTest.php - ContextUploader.php in src/
Context/ ContextUploader.php
File
- vendor/
smartling/ api-sdk-php/ src/ Context/ Params/ MatchContextParameters.php, line 11
Namespace
Smartling\Context\ParamsView source
class MatchContextParameters extends BaseParameters {
public function setContentFileUri($contentFileUri) {
$this
->set('contentFileUri', $contentFileUri);
}
public function setOverrideContextOlderThanDays($days) {
if ($days < 0) {
throw new \InvalidArgumentException('Days value must be grater or equal to zero.');
}
$this
->set('overrideContextOlderThanDays', $days);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BaseParameters:: |
protected | property | ||
BaseParameters:: |
public | function |
@inheritdoc Overrides ParameterInterface:: |
1 |
BaseParameters:: |
public | function |
@inheritdoc Overrides ParameterInterface:: |
|
MatchContextParameters:: |
public | function | ||
MatchContextParameters:: |
public | function |