Zend Framework
3.0
|
Serializable version of SplPriorityQueue. More...
Public Member Functions | |
insert ($datum, $priority) | |
toArray () | |
Serialize to an array. | |
serialize () | |
Serialize. | |
unserialize ($data) | |
Deserialize. | |
Protected Attributes | |
$serial = PHP_INT_MAX | |
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 | ( | $datum, | |
$priority | |||
) |
serialize | ( | ) |
Serialize.
toArray | ( | ) |
Serialize to an array.
Array will be priority => data pairs
unserialize | ( | $data | ) |
Deserialize.
string | $data |
|
protected |