‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Command\ConsumeMessagesCommand Class Reference
Inheritance diagram for TYPO3\CMS\Core\Command\ConsumeMessagesCommand:

Public Member Functions

 __construct (private readonly MessageBusInterface $messageBus, private readonly ServiceLocator $receiverLocator, private readonly StopWorkerOnTimeLimitListener $stopWorkerOnTimeLimitListener, private readonly EventDispatcherInterface $eventDispatcher, private readonly array $receiverNames=[], private readonly array $busIds=[],)
 
 complete (CompletionInput $input, CompletionSuggestions $suggestions)
 

Protected Member Functions

 configure ()
 
 interact (InputInterface $input, OutputInterface $output)
 
 execute (InputInterface $input, OutputInterface $output)
 

Detailed Description

Heavily stripped-down version of the symfony command with the same name.

Definition at line 43 of file ConsumeMessagesCommand.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Command\ConsumeMessagesCommand::__construct ( private readonly MessageBusInterface  $messageBus,
private readonly ServiceLocator  $receiverLocator,
private readonly StopWorkerOnTimeLimitListener  $stopWorkerOnTimeLimitListener,
private readonly EventDispatcherInterface  $eventDispatcher,
private readonly array  $receiverNames = [],
private readonly array  $busIds = [] 
)

Definition at line 45 of file ConsumeMessagesCommand.php.

Member Function Documentation

◆ complete()

TYPO3\CMS\Core\Command\ConsumeMessagesCommand::complete ( CompletionInput  $input,
CompletionSuggestions  $suggestions 
)

Definition at line 156 of file ConsumeMessagesCommand.php.

◆ configure()

TYPO3\CMS\Core\Command\ConsumeMessagesCommand::configure ( )
protected

Definition at line 56 of file ConsumeMessagesCommand.php.

◆ execute()

TYPO3\CMS\Core\Command\ConsumeMessagesCommand::execute ( InputInterface  $input,
OutputInterface  $output 
)
protected

Definition at line 115 of file ConsumeMessagesCommand.php.

References $output.

◆ interact()

TYPO3\CMS\Core\Command\ConsumeMessagesCommand::interact ( InputInterface  $input,
OutputInterface  $output 
)
protected

Definition at line 92 of file ConsumeMessagesCommand.php.

References $output.