You are here

class BaseParameters in TMGMT Translator Smartling 8.4

Same name and namespace in other branches
  1. 8.2 api-sdk-php/src/Parameters/BaseParameters.php \Smartling\Parameters\BaseParameters
  2. 8.2 vendor/smartling/api-sdk-php/src/Parameters/BaseParameters.php \Smartling\Parameters\BaseParameters
  3. 8.3 vendor/smartling/api-sdk-php/src/Parameters/BaseParameters.php \Smartling\Parameters\BaseParameters

Class BaseParameters

@package Smartling\Params

Hierarchy

Expanded class hierarchy of BaseParameters

19 files declare their use of BaseParameters
AddFileToJobParameters.php in vendor/smartling/api-sdk-php/src/Jobs/Params/AddFileToJobParameters.php
AddLocaleToJobParameters.php in vendor/smartling/api-sdk-php/src/Jobs/Params/AddLocaleToJobParameters.php
CancelJobParameters.php in vendor/smartling/api-sdk-php/src/Jobs/Params/CancelJobParameters.php
CreateBatchParameters.php in vendor/smartling/api-sdk-php/src/Batch/Params/CreateBatchParameters.php
CreateRecordParameters.php in vendor/smartling/api-sdk-php/src/AuditLog/Params/CreateRecordParameters.php

... See full list

File

vendor/smartling/api-sdk-php/src/Parameters/BaseParameters.php, line 10

Namespace

Smartling\Parameters
View source
class BaseParameters implements ParameterInterface {

  /**
   * @var array
   */
  protected $params = [];

  /**
   * @inheritdoc
   */
  public function exportToArray() {
    return $this->params;
  }

  /**
   * @inheritdoc
   */
  public function set($key, $value) {
    $this->params[$key] = $value;
  }

}

Members