You are here

public function ClientManager::__construct in Elasticsearch Connector 8.2

Same name and namespace in other branches
  1. 8.7 src/ElasticSearch/ClientManager.php \Drupal\elasticsearch_connector\ElasticSearch\ClientManager::__construct()
  2. 8.5 src/ElasticSearch/ClientManager.php \Drupal\elasticsearch_connector\ElasticSearch\ClientManager::__construct()
  3. 8.6 src/ElasticSearch/ClientManager.php \Drupal\elasticsearch_connector\ElasticSearch\ClientManager::__construct()

ConnectorManager constructor.

Parameters

ModuleHandlerInterface $module_handler:

Overrides ClientManagerInterface::__construct

File

src/ElasticSearch/ClientManager.php, line 35

Class

ClientManager
Class ClientManager.

Namespace

Drupal\elasticsearch_connector\ElasticSearch

Code

public function __construct(ModuleHandlerInterface $module_handler, ClientFactoryInterface $clientManagerFactory) {
  $this->moduleHandler = $module_handler;
  $this->clientManagerFactory = $clientManagerFactory;
}