You are here

private function DESConnector82::__construct in Elasticsearch Connector 8

Singleton constructor.

Overrides DESConnector::__construct

File

src/DESConnector/DESConnector82.php, line 35
Provides Elasticsearch Client for Drupal's Elasticsearch Connector module.

Class

DESConnector82
Drupal Elasticsearch Interface.

Namespace

Drupal\elasticsearch_connector\DESConnector

Code

private function __construct($client) {

  // TODO: Validate if we have a valid client.
  $this->client = $client;
}