mini\Table\AbstractTable::order()
Method
public
abstract
Signature
public abstract function order(?string $spec): mini\Table\Contracts\TableInterface
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$spec |
?string |
required | Documentation missing |
Returns
Documentation
Apply ordering to the table
Implementations must choose how to handle ordering:
- Store locally and apply in materialize() (e.g., SQL-backed tables push to DB)
- Return a SortedTable wrapper for in-memory sorting