<?php namespace App\Tables; use App\Models\Row; /** * Utility for allocating & assigning globally unique row IDs */ class RowNumerator extends BaseNumerator { /** * Create a numerator for the given number of rows. * * @param int $capacity - how many */ public function __construct($capacity) { parent::__construct(Row::allocateRowIDs($capacity)); } }