/**
* Sets the needed objects on the operation invoker.
*/
protected function setupOperationInvoker()
{
$this->config->getOperationInvoker()->setEventDispatcher($this->dispatcher);
$this->config->getOperationInvoker()->setConnection($this);
if ($this->logger) {
$this->config->getOperationInvoker()->setLogger($this->logger);
}
}