Serializable version of SplPriorityQueue
Also, provides predictable heap order for datums added with the same priority (i.e., they will be emitted in the same order they are enqueued).
Insert a value with a given priority
Utilizes {@var $serial} to ensure that values of equal priority are emitted in the same order in which they are inserted.
Parameters: |
|
---|---|
Return type: | void |
Serialize to an array
Array will be priority => data pairs
Return type: | array |
---|
Serialize
Return type: | string |
---|
Deserialize
Parameters: | string – |
---|---|
Return type: | void |