/**
  * @param $eventKey
  * @param $eventValue
  * @return mixed
  */
 public function dispatch($eventKey, $eventValue)
 {
     $parameters = ['eventkey' => $eventKey, 'eventvalue' => $eventValue];
     foreach ($this->api->getServices() as $serviceConfig) {
         $this->api->callServiceMethod($serviceConfig->getName(), 'api_dispatcher_entry', $parameters);
     }
 }
 /**
  * @param $eventKey
  * @param $eventValue
  * @return mixed
  */
 public function dispatch($eventKey, $eventValue)
 {
     $this->api->callMethod($this->routeName, ['eventkey' => $eventKey, 'eventValue' => $eventValue]);
 }