You are here

public function EventProxy::__call in Search API Solr 8

Same name and namespace in other branches
  1. 4.x src/Solarium/EventDispatcher/EventProxy.php \Drupal\search_api_solr\Solarium\EventDispatcher\EventProxy::__call()

Proxies all method calls to the original event.

File

src/Solarium/EventDispatcher/EventProxy.php, line 35

Class

EventProxy
A proxy for events defined by symfony contracts

Namespace

Drupal\search_api_solr\Solarium\EventDispatcher

Code

public function __call($method, $arguments) {
  return $this->event
    ->{$method}(...$arguments);
}