You are here

public function RemoteManager::__construct in Entity Share 8.2

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

RemoteManager constructor.

Parameters

\Drupal\Core\Http\ClientFactory $http_client_factory: The HTTP client factory.

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

File

modules/entity_share_client/src/Service/RemoteManager.php, line 40

Class

RemoteManager
Class RemoteManager.

Namespace

Drupal\entity_share_client\Service

Code

public function __construct(ClientFactory $http_client_factory, RequestServiceInterface $request_service) {
  $this->httpClientFactory = $http_client_factory;
  $this->requestService = $request_service;
}