PHP Interface Webmozart\KeyValueStore\Api\SortableStore
In addition of the properties of a classical store, a sortable store
has the ability to sort its values by its keys.
显示文件
Open project: webmozart/key-value-store
Public Methods
Method |
Description |
|
sort ( integer $flags = SORT_REGULAR ) |
Sort the store by its keys. |
|
Method Details
The store values will be arranged from lowest to highest when this
function has completed.
This method accepts an optional second parameter that may be used
to modify the sorting behavior using the standard sort flags of PHP.
public sort ( integer $flags = SORT_REGULAR ) |
$flags |
integer |
Sorting type flags (from the standard PHP sort flags). |