protected function mergeItems() {
        ksort($this->items);
        $this->mergedItems = array();
        foreach ($this->items as $items) {
            $this->mergedItems = array_merge($this->mergedItems, $items);
        }
        return $this;
    }
protected function mergeItems() {
        ksort($this->items);
        $this->mergedItems = array();
        foreach ($this->items as $items) {
            $this->mergedItems = array_merge($this->mergedItems, $items);
        }
        return $this;
    }
protected function mergeItems ( ) { ksort ( $ this -> items ) ; $ this -> mergedItems = array ( ) ; foreach ( $ this -> items as $ items ) { $ this -> mergedItems = array_merge ( $ this -> mergedItems , $ items ) ; } return $ this ; }
Merges the items of the priority queue to one single list, paying attention to the priorities. The result is
written to the mergedItems property.
@return $this Implementing fluent interface.
Merges the items of the priority queue to one single list paying attention to the priorities . The result is written to the mergedItems property .