You are here

public function QueueProcessCommand::__construct in Advanced Queue 8

Constructs a new QueueProcessCommand object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\advancedqueue\ProcessorInterface $processor: The queue processor.

File

src/Command/QueueProcessCommand.php, line 48

Class

QueueProcessCommand
Class ProcessQueueCommand.

Namespace

Drupal\advancedqueue\Command

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ProcessorInterface $processor) {
  parent::__construct();
  $this->entityTypeManager = $entity_type_manager;
  $this->processor = $processor;
}