You are here

public function PriorityQueue::extract in Zircon Profile 8

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

Extract a node from the inner queue and sift up

Return value

mixed

File

vendor/zendframework/zend-stdlib/src/PriorityQueue.php, line 148

Class

PriorityQueue
Re-usable, serializable priority queue implementation

Namespace

Zend\Stdlib

Code

public function extract() {
  return $this
    ->getQueue()
    ->extract();
}