You are here

public function EntityShareClientCliService::__construct in Entity Share 8.2

Same name and namespace in other branches
  1. 8.3 modules/entity_share_client/src/Service/EntityShareClientCliService.php \Drupal\entity_share_client\Service\EntityShareClientCliService::__construct()
  2. 8 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\RemoteManagerInterface $remote_manager: The remote manager service.

\Drupal\entity_share_client\Service\JsonapiHelperInterface $jsonapi_helper: The jsonapi helper service.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity type manager service.

\Drupal\entity_share_client\Service\RequestServiceInterface $request_service: The request service.

File

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

Class

EntityShareClientCliService
Class EntityShareClientCliService.

Namespace

Drupal\entity_share_client\Service

Code

public function __construct(TranslationInterface $string_translation, RemoteManagerInterface $remote_manager, JsonapiHelperInterface $jsonapi_helper, EntityTypeManagerInterface $entity_type_manager, RequestServiceInterface $request_service) {
  $this->stringTranslation = $string_translation;
  $this->remoteManager = $remote_manager;
  $this->jsonapiHelper = $jsonapi_helper;
  $this->entityTypeManager = $entity_type_manager;
  $this->requestService = $request_service;
  $this->errors = [];
}