You are here

public static function AuditLogApi::create in TMGMT Translator Smartling 8.3

Same name and namespace in other branches
  1. 8.4 vendor/smartling/api-sdk-php/src/AuditLog/AuditLogApi.php \Smartling\AuditLog\AuditLogApi::create()
6 calls to AuditLogApi::create()
AuditLogApiFunctionalTest::setUp in vendor/smartling/api-sdk-php/tests/functional/AuditLogApiFunctionalTest.php
createAccountLevelLogRecordDemo in vendor/smartling/api-sdk-php/examples/audit-log-example.php
createProjectLevelLogRecordDemo in vendor/smartling/api-sdk-php/examples/audit-log-example.php
searchAccountLevelLogRecordDemo in vendor/smartling/api-sdk-php/examples/audit-log-example.php
searchProjectLevelLogRecordDemo in vendor/smartling/api-sdk-php/examples/audit-log-example.php

... See full list

File

vendor/smartling/api-sdk-php/src/AuditLog/AuditLogApi.php, line 32

Class

AuditLogApi

Namespace

Smartling\AuditLog

Code

public static function create(AuthApiInterface $authProvider, $projectId, LoggerInterface $logger = null) {
  $client = self::initializeHttpClient(self::ENDPOINT_URL);
  $instance = new self($projectId, $client, $logger, self::ENDPOINT_URL);
  $instance
    ->setAuth($authProvider);
  return $instance;
}