You are here

public function EntityShareClientCliService::__construct in Entity Share 8.3

Same name and namespace in other branches
  1. 8 modules/entity_share_client/src/Service/EntityShareClientCliService.php \Drupal\entity_share_client\Service\EntityShareClientCliService::__construct()
  2. 8.2 modules/entity_share_client/src/Service/EntityShareClientCliService.php \Drupal\entity_share_client\Service\EntityShareClientCliService::__construct()

Constructor.

Parameters

\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation service.

\Drupal\entity_share_client\Service\ImportServiceInterface $import_service: The import service.

File

modules/entity_share_client/src/Service/EntityShareClientCliService.php, line 42

Class

EntityShareClientCliService
Service to ease the usage of CLI tools.

Namespace

Drupal\entity_share_client\Service

Code

public function __construct(TranslationInterface $string_translation, ImportServiceInterface $import_service) {
  $this->stringTranslation = $string_translation;
  $this->importService = $import_service;
}