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

mini\Table\Contracts\TableInterface

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

Source

src/Table/AbstractTable.php:105