You are here

public function ClientManagerInterface::__construct in Elasticsearch Connector 8.5

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

Create a client manager.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: Module handler service.

\nodespark\DESConnector\ClientFactoryInterface $clientManagerFactory: Client factory.

1 method overrides ClientManagerInterface::__construct()
ClientManager::__construct in src/ElasticSearch/ClientManager.php
Create a client manager.

File

src/ElasticSearch/ClientManagerInterface.php, line 23

Class

ClientManagerInterface
Client manager interface.

Namespace

Drupal\elasticsearch_connector\ElasticSearch

Code

public function __construct(ModuleHandlerInterface $module_handler, ClientFactoryInterface $clientManagerFactory);