Download the PHP package mouf/utils.common.sortable-interface without Composer
On this page you can find all versions of the php package mouf/utils.common.sortable-interface. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mouf/utils.common.sortable-interface
More information about mouf/utils.common.sortable-interface
Files in mouf/utils.common.sortable-interface
Package utils.common.sortable-interface
Short Description This package contains an interface used by objects to say they can sort data. The concept is very simple, the object implements a sort method that takes a key (the sort column) and a direction, and that's it!
License MIT
Homepage https://mouf-php.com/packages/mouf/utils.common.sortable-interface
Informations about the package utils.common.sortable-interface
What is this package
This package contains an interface used by many objects to declare they have the ability to sort the result set they represent.
If your objects represent a resultset (for instance your object is a resultset from a query to a database), and if you can sort this result set (on a column of the resultset), then your object should implement SortableInterface.
Mouf package
This package is part of Mouf (http://mouf-php.com), an effort to ensure good developing practices by providing a graphical dependency injection framework.