You are here

public function PriorityQueue::setInternalQueueClass in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-stdlib/src/PriorityQueue.php \Zend\Stdlib\PriorityQueue::setInternalQueueClass()

Specify the internal queue class

Please see {@link getIterator()} for details on the necessity of an internal queue class. The class provided should extend SplPriorityQueue.

Parameters

string $class:

Return value

PriorityQueue

File

vendor/zendframework/zend-stdlib/src/PriorityQueue.php, line 232

Class

PriorityQueue
Re-usable, serializable priority queue implementation

Namespace

Zend\Stdlib

Code

public function setInternalQueueClass($class) {
  $this->queueClass = (string) $class;
  return $this;
}