public static function TranslationRequestsApi::create in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.3 vendor/smartling/api-sdk-php/src/TranslationRequests/TranslationRequestsApi.php \Smartling\TranslationRequests\TranslationRequestsApi::create()
Parameters
AuthApiInterface $authProvider:
string $projectId:
LoggerInterface $logger:
Return value
6 calls to TranslationRequestsApi::create()
- createTranslationRequestDemo in vendor/
smartling/ api-sdk-php/ examples/ translation-requests-example.php - getTranslationRequestDemo in vendor/
smartling/ api-sdk-php/ examples/ translation-requests-example.php - searchTranslationRequestDemo in vendor/
smartling/ api-sdk-php/ examples/ translation-requests-example.php - SmartlingApiFactory::create in src/
Smartling/ SmartlingApiFactory.php - Returns API object as a service.
- TranslationRequestsApiFunctionalTest::setUp in vendor/
smartling/ api-sdk-php/ tests/ functional/ TranslationRequestsApiFunctionalTest.php - Test mixture.
1 method overrides TranslationRequestsApi::create()
- TranslationRequestsApiV3::create in src/
Smartling/ Submission/ TranslationRequestsApiV3.php
File
- vendor/
smartling/ api-sdk-php/ src/ TranslationRequests/ TranslationRequestsApi.php, line 28
Class
- TranslationRequestsApi
- Class TranslationRequestsApi @package Smartling\TranslationRequests
Namespace
Smartling\TranslationRequestsCode
public static function create(AuthApiInterface $authProvider, $projectId, $logger = null) {
$client = static::initializeHttpClient(static::ENDPOINT_URL);
$instance = new self($projectId, $client, $logger, static::ENDPOINT_URL);
$instance
->setAuth($authProvider);
return $instance;
}