You are here

private function ContextApi::getXSLContextSourceHeader in TMGMT Translator Smartling 8.4

Same name and namespace in other branches
  1. 8.2 api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getXSLContextSourceHeader()
  2. 8.2 vendor/smartling/api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getXSLContextSourceHeader()
  3. 8.3 vendor/smartling/api-sdk-php/src/Context/ContextApi.php \Smartling\Context\ContextApi::getXSLContextSourceHeader()

Returns X-SL-Context-Source header.

Return value

string

1 call to ContextApi::getXSLContextSourceHeader()
ContextApi::getDefaultRequestData in vendor/smartling/api-sdk-php/src/Context/ContextApi.php

File

vendor/smartling/api-sdk-php/src/Context/ContextApi.php, line 111

Class

ContextApi
Class ContextApi

Namespace

Smartling\Context

Code

private function getXSLContextSourceHeader() {
  return vsprintf('group=connectors;name=%s;version=%s', [
    static::getCurrentClientId(),
    static::getCurrentClientVersion(),
  ]);
}