buses[$id])) { $middlewares = new RewindableGenerator($this->configuration[$id]['middleware']); $this->buses[$id] = new MessageBus($middlewares); } return $this->buses[$id]; } /** * @inheritDoc */ public function has(string $id) { return isset($this->configuration[$id]); } }