You are here

class BaseParameters in TMGMT Translator Smartling 8.2

Same name in this branch
  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
Same name and namespace in other branches
  1. 8.4 vendor/smartling/api-sdk-php/src/Parameters/BaseParameters.php \Smartling\Parameters\BaseParameters
  2. 8.3 vendor/smartling/api-sdk-php/src/Parameters/BaseParameters.php \Smartling\Parameters\BaseParameters

Class BaseParameters

@package Smartling\Params

Hierarchy

  • class \Smartling\Parameters\BaseParameters implements \Smartling\Parameters\ParameterInterface

Expanded class hierarchy of BaseParameters

12 files declare their use of BaseParameters
DownloadFileParameters.php in api-sdk-php/src/File/Params/DownloadFileParameters.php
DownloadFileParameters.php in vendor/smartling/api-sdk-php/src/File/Params/DownloadFileParameters.php
ListFilesParameters.php in api-sdk-php/src/File/Params/ListFilesParameters.php
ListFilesParameters.php in vendor/smartling/api-sdk-php/src/File/Params/ListFilesParameters.php
MissingResourcesParameters.php in api-sdk-php/src/Context/Params/MissingResourcesParameters.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

Namesort descending Modifiers Type Description Overrides
BaseParameters::$params protected property
BaseParameters::exportToArray public function @inheritdoc
BaseParameters::set public function @inheritdoc