function DoubleEndedQueue::__construct
Constructs a double-ended queue (dequeue) object of the specified type, optionally with the specified data.
Parameters
string $queueType The type or class name associated with this dequeue.:
array<array-key, T> $data The initial items to store in the dequeue.:
Overrides Queue::__construct
File
-
vendor/
ramsey/ collection/ src/ DoubleEndedQueue.php, line 41
Class
- DoubleEndedQueue
- This class provides a basic implementation of `DoubleEndedQueueInterface`, to minimize the effort required to implement this interface.
Namespace
Ramsey\CollectionCode
public function __construct(string $queueType, array $data = []) {
parent::__construct($this->queueType, $data);
}