You are here

public function ContextUploader::__construct in TMGMT Translator Smartling 8.3

Same name and namespace in other branches
  1. 8.4 src/Context/ContextUploader.php \Drupal\tmgmt_smartling\Context\ContextUploader::__construct()
  2. 8 src/Context/ContextUploader.php \Drupal\tmgmt_smartling\Context\ContextUploader::__construct()
  3. 8.2 src/Context/ContextUploader.php \Drupal\tmgmt_smartling\Context\ContextUploader::__construct()

File

src/Context/ContextUploader.php, line 43

Class

ContextUploader

Namespace

Drupal\tmgmt_smartling\Context

Code

public function __construct(SmartlingApiWrapper $api_wrapper, TranslationJobToUrl $url_converter, ContextUserAuth $auth, HtmlAssetInliner $html_asset_inliner, LoggerInterface $logger) {
  $this->apiWrapper = $api_wrapper;
  $this->urlConverter = $url_converter;
  $this->authenticator = $auth;
  $this->assetInliner = $html_asset_inliner;
  $this->logger = $logger;
}