/** * Setup implementation. * * @return void */ protected function setupImplementation() { $this->connection->setEventManager($this->eventManager); $this->connection->setOptions($this->options); $implementation = $this->options->getImplementation(); $implementation->setEventManager($this->eventManager); $implementation->setOptions($this->options); $implementation->register(); $implementation->registerListener(new Logger()); }