You are here

public function PriorityList::key in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-stdlib/src/PriorityList.php \Zend\Stdlib\PriorityList::key()

File

vendor/zendframework/zend-stdlib/src/PriorityList.php, line 212

Class

PriorityList

Namespace

Zend\Stdlib

Code

public function key() {
  $this->sorted || $this
    ->sort();
  return key($this->items);
}