class Worker

Methods

__construct(ReceiverInterface $receiver, MessageBusInterface $bus, string $receiverName = null, RetryStrategyInterface $retryStrategy = null, EventDispatcherInterface $eventDispatcher = null, LoggerInterface $logger = null)

No description

run()

Receive the messages and dispatch them to the bus.

Details

at line 45
__construct(ReceiverInterface $receiver, MessageBusInterface $bus, string $receiverName = null, RetryStrategyInterface $retryStrategy = null, EventDispatcherInterface $eventDispatcher = null, LoggerInterface $logger = null)

Parameters

ReceiverInterface $receiver
MessageBusInterface $bus
string $receiverName
RetryStrategyInterface $retryStrategy
EventDispatcherInterface $eventDispatcher
LoggerInterface $logger

at line 63
run()

Receive the messages and dispatch them to the bus.