public function FastPriorityQueue::serialize in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-stdlib/src/FastPriorityQueue.php \Zend\Stdlib\FastPriorityQueue::serialize()
Serialize
Return value
string
File
- vendor/
zendframework/ zend-stdlib/ src/ FastPriorityQueue.php, line 263
Class
- FastPriorityQueue
- This is an efficient implementation of an integer priority queue in PHP
Namespace
Zend\StdlibCode
public function serialize() {
$clone = clone $this;
$clone
->setExtractFlags(self::EXTR_BOTH);
$data = [];
foreach ($clone as $item) {
$data[] = $item;
}
return serialize($data);
}