Zend\Stdlib\PriorityQueue::toArray
Serialize to an array
By default, returns only the item data, and in the order registered (not sorted). You may provide one of the EXTR_* flags as an argument, allowing the ability to return priorities or both data and priority.
Signature
public function toArray([int
$flag = self::EXTR_DATA] )
Parameters
$flag
— int
Returns
- array