Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DoubleEndedQueue.php

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\Collection

Code

public function __construct(string $queueType, array $data = []) {
    parent::__construct($this->queueType, $data);
}
RSS feed
Powered by Drupal