code: public function getIterator()
      {
          if ($this->slotmap->isEmpty()) {
              $this->useClusterSlots ? $this->askSlotMap() : $this->buildSlotMap();
          }
  
          $connections = array();
  
          foreach ($this->slotmap->getNodes() as $node) {
              if (!$connection = $this->getConnectionById($node)) {
                  $this->add($connection = $this->createConnection($node));
              }
  
              $connections[] = $connection;
          }
  
          return new \ArrayIterator($connections);
      }
docs: {@inheritdoc}