You are here

class MatchContextParameters in TMGMT Translator Smartling 8.4

Same name and namespace in other branches
  1. 8.3 vendor/smartling/api-sdk-php/src/Context/Params/MatchContextParameters.php \Smartling\Context\Params\MatchContextParameters

Class MatchContextParameters @package Context\Params

Hierarchy

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\Params
View 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