You are here

public function UploadFileParameters::exportToArray in TMGMT Translator Smartling 8.4

Same name and namespace in other branches
  1. 8.2 api-sdk-php/src/File/Params/UploadFileParameters.php \Smartling\File\Params\UploadFileParameters::exportToArray()
  2. 8.2 vendor/smartling/api-sdk-php/src/File/Params/UploadFileParameters.php \Smartling\File\Params\UploadFileParameters::exportToArray()
  3. 8.3 vendor/smartling/api-sdk-php/src/File/Params/UploadFileParameters.php \Smartling\File\Params\UploadFileParameters::exportToArray()

@inheritdoc

Overrides BaseParameters::exportToArray

File

vendor/smartling/api-sdk-php/src/File/Params/UploadFileParameters.php, line 89

Class

UploadFileParameters
Class UploadFileParameters

Namespace

Smartling\File\Params

Code

public function exportToArray() {
  $params = $this->params;
  $params['authorize'] = array_key_exists('localeIdsToAuthorize', $params) ? false : (bool) $params['authorize'];
  return $params;
}