ConsumeMessagesCommand extends Command

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

Table of Contents

Methods

__construct()  : mixed
complete()  : void
configure()  : void
execute()  : int
interact()  : mixed

Methods

__construct()

public __construct(MessageBusInterface $messageBus, ServiceLocator $receiverLocator, StopWorkerOnTimeLimitListener $stopWorkerOnTimeLimitListener, EventDispatcherInterface $eventDispatcher[, array<string|int, mixed> $receiverNames = [] ][, array<string|int, mixed> $busIds = [] ]) : mixed
Parameters
$messageBus : MessageBusInterface
$receiverLocator : ServiceLocator
$stopWorkerOnTimeLimitListener : StopWorkerOnTimeLimitListener
$eventDispatcher : EventDispatcherInterface
$receiverNames : array<string|int, mixed> = []
$busIds : array<string|int, mixed> = []

complete()

public complete(CompletionInput $input, CompletionSuggestions $suggestions) : void
Parameters
$input : CompletionInput
$suggestions : CompletionSuggestions

execute()

protected execute(InputInterface $input, OutputInterface $output) : int
Parameters
$input : InputInterface
$output : OutputInterface
Return values
int

interact()

protected interact(InputInterface $input, OutputInterface $output) : mixed
Parameters
$input : InputInterface
$output : OutputInterface

        
On this page

Search results