public function FastPriorityQueue::unserialize in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-stdlib/src/FastPriorityQueue.php \Zend\Stdlib\FastPriorityQueue::unserialize()
Deserialize
Parameters
string $data:
Return value
void
File
- vendor/
zendframework/ zend-stdlib/ src/ FastPriorityQueue.php, line 282
Class
- FastPriorityQueue
- This is an efficient implementation of an integer priority queue in PHP
Namespace
Zend\StdlibCode
public function unserialize($data) {
foreach (unserialize($data) as $item) {
$this
->insert($item['data'], $item['priority']);
}
}