You are here

public function DESConnector::__call in Elasticsearch Connector 8

Magic method call.

File

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

Class

DESConnector
Drupal Elasticsearch Interface.

Namespace

Drupal\elasticsearch_connector\DESConnector

Code

public function __call($name, $arguments) {
  if (method_exists($this
    ->getClient(), $name)) {
    return call_user_func_array(array(
      $this
        ->getClient(),
      $name,
    ), $arguments);
  }
}