public function ClientManager::__construct in Elasticsearch Connector 8.5
Same name and namespace in other branches
- 8.7 src/ElasticSearch/ClientManager.php \Drupal\elasticsearch_connector\ElasticSearch\ClientManager::__construct()
- 8.2 src/ElasticSearch/ClientManager.php \Drupal\elasticsearch_connector\ElasticSearch\ClientManager::__construct()
- 8.6 src/ElasticSearch/ClientManager.php \Drupal\elasticsearch_connector\ElasticSearch\ClientManager::__construct()
Create a client manager.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: Module handler service.
\nodespark\DESConnector\ClientFactoryInterface $clientManagerFactory: Client factory.
Overrides ClientManagerInterface::__construct
File
- src/
ElasticSearch/ ClientManager.php, line 38
Class
- ClientManager
- Class ClientManager.
Namespace
Drupal\elasticsearch_connector\ElasticSearchCode
public function __construct(ModuleHandlerInterface $module_handler, ClientFactoryInterface $clientManagerFactory) {
$this->moduleHandler = $module_handler;
$this->clientManagerFactory = $clientManagerFactory;
}