public static function JobsApi::create in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.3 vendor/smartling/api-sdk-php/src/Jobs/JobsApi.php \Smartling\Jobs\JobsApi::create()
Instantiates Jobs API object.
Parameters
AuthApiInterface $authProvider:
string $projectId:
LoggerInterface $logger:
Return value
10 calls to JobsApi::create()
- addFileToJobDemo in vendor/
smartling/ api-sdk-php/ examples/ jobs-example.php - authorizeJobDemo in vendor/
smartling/ api-sdk-php/ examples/ jobs-example.php - cancelJobDemo in vendor/
smartling/ api-sdk-php/ examples/ jobs-example.php - createJobDemo in vendor/
smartling/ api-sdk-php/ examples/ jobs-example.php - getJobDemo in vendor/
smartling/ api-sdk-php/ examples/ jobs-example.php
File
- vendor/
smartling/ api-sdk-php/ src/ Jobs/ JobsApi.php, line 85
Class
- JobsApi
- Class JobsApi
Namespace
Smartling\JobsCode
public static function create(AuthApiInterface $authProvider, $projectId, $logger = null) {
$client = self::initializeHttpClient(self::ENDPOINT_URL);
$instance = new self($projectId, $client, $logger, self::ENDPOINT_URL);
$instance
->setAuth($authProvider);
return $instance;
}