function InstantQueueRunner::__construct

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Queue/InstantQueueRunner.php \Drupal\Core\Queue\InstantQueueRunner::__construct()

File

core/lib/Drupal/Core/Queue/InstantQueueRunner.php, line 24

Class

InstantQueueRunner
Provides an instant queue runner that processes items in kernel.destruct.

Namespace

Drupal\Core\Queue

Code

public function __construct(protected QueueFactory $queueFactory, protected QueueWorkerManagerInterface $queueManager, #[Autowire(service: 'logger.channel.queue')] protected LoggerChannelInterface $logger, #[Autowire(param: 'instant_queue.config')] protected array $config) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.