public function FastPriorityQueue::hasPriority in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-stdlib/src/FastPriorityQueue.php \Zend\Stdlib\FastPriorityQueue::hasPriority()
Does the queue have an item with the given priority?
Parameters
int $priority:
Return value
bool
File
- vendor/
zendframework/ zend-stdlib/ src/ FastPriorityQueue.php, line 339
Class
- FastPriorityQueue
- This is an efficient implementation of an integer priority queue in PHP
Namespace
Zend\StdlibCode
public function hasPriority($priority) {
return isset($this->values[$priority]);
}