next, $this->last) = Row::allocateColIDs($capacity); } /** * Get next column name, incrementing the internal state * * @return string */ public function next() { if ($this->next > $this->last) throw new \OutOfBoundsException("Column numerator has run out of allocated GCID slots"); $key = Utils::alphabetEncode($this->next, self::ALPHABET); $this->next++; return $key; } }