You are here

BaseParameters.php in TMGMT Translator Smartling 8.4

File

vendor/smartling/api-sdk-php/src/Parameters/BaseParameters.php
View source
<?php

namespace Smartling\Parameters;


/**
 * Class BaseParameters
 *
 * @package Smartling\Params
 */
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;
  }

}

Classes

Namesort descending Description
BaseParameters Class BaseParameters