datatable.directory codebase https://datatable.directory/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
datatable.directory/app/Tables/RowNumerator.php

19 lines
331 B

<?php
namespace App\Tables;
use App\Models\Row;
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));
}
}