class UniqueQueueDatabaseFactory in Queue Unique 8.2
Factory class for generating unique database queues.
Hierarchy
- class \Drupal\Core\Queue\QueueDatabaseFactory
- class \Drupal\queue_unique\UniqueQueueDatabaseFactory
Expanded class hierarchy of UniqueQueueDatabaseFactory
1 string reference to 'UniqueQueueDatabaseFactory'
1 service uses UniqueQueueDatabaseFactory
File
- src/
UniqueQueueDatabaseFactory.php, line 10
Namespace
Drupal\queue_uniqueView source
class UniqueQueueDatabaseFactory extends QueueDatabaseFactory {
/**
* {@inheritdoc}
*/
public function get($name) {
return new UniqueDatabaseQueue($name, $this->connection);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
QueueDatabaseFactory:: |
protected | property | The database connection. | |
QueueDatabaseFactory:: |
public | function | Constructs this factory object. | |
UniqueQueueDatabaseFactory:: |
public | function |
Constructs a new queue object for a given name. Overrides QueueDatabaseFactory:: |