You are here

UniqueQueueDatabaseFactory.php in Queue Unique 8.2

File

src/UniqueQueueDatabaseFactory.php
View source
<?php

namespace Drupal\queue_unique;

use Drupal\Core\Queue\QueueDatabaseFactory;

/**
 * Factory class for generating unique database queues.
 */
class UniqueQueueDatabaseFactory extends QueueDatabaseFactory {

  /**
   * {@inheritdoc}
   */
  public function get($name) {
    return new UniqueDatabaseQueue($name, $this->connection);
  }

}

Classes

Namesort descending Description
UniqueQueueDatabaseFactory Factory class for generating unique database queues.