mini\Table\Wrappers\CrossJoinTable::getCompareFn() Method

protected

Signature

protected function getCompareFn(): Closure

Returns

Closure

Documentation

Get the string comparison function for sorting

Used by SortedTable for string column comparisons. By default uses the application's Collator service (via mini\collator()) when available, falling back to binary comparison (<=>) otherwise.

Inherited From

mini\Table\AbstractTable

Source

src/Table/AbstractTable.php:85-92