You are here

private function DESConnector81::__construct in Elasticsearch Connector 8

Singleton constructor.

Overrides DESConnector::__construct

File

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

Class

DESConnector81
Drupal Elasticsearch Interface.

Namespace

Drupal\elasticsearch_connector\DESConnector

Code

private function __construct($client) {

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