protected function setupOperationInvoker()
    {
        $this->config->getOperationInvoker()->setEventDispatcher($this->dispatcher);
        $this->config->getOperationInvoker()->setConnection($this);
        if ($this->logger) {
            $this->config->getOperationInvoker()->setLogger($this->logger);
        }
        if ($this->cache) {
            $this->config->getOperationInvoker()->setCache($this->cache);
        }
    }