next, $this->last) = Row::allocateRowIDs($capacity); } public function next() { if ($this->next > $this->last) throw new \OutOfBoundsException("Row numerator has run out of allocated GRID slots"); return $this->next++; } }