protected function PriorityList::sort in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-stdlib/src/PriorityList.php \Zend\Stdlib\PriorityList::sort()
Sort all items.
Return value
void
4 calls to PriorityList::sort()
- PriorityList::current in vendor/
zendframework/ zend-stdlib/ src/ PriorityList.php - PriorityList::key in vendor/
zendframework/ zend-stdlib/ src/ PriorityList.php - PriorityList::rewind in vendor/
zendframework/ zend-stdlib/ src/ PriorityList.php - PriorityList::toArray in vendor/
zendframework/ zend-stdlib/ src/ PriorityList.php - Return list as array
File
- vendor/
zendframework/ zend-stdlib/ src/ PriorityList.php, line 146
Class
Namespace
Zend\StdlibCode
protected function sort() {
if (!$this->sorted) {
uasort($this->items, [
$this,
'compare',
]);
$this->sorted = true;
}
}