class TraceableMessageBus implements MessageBusInterface

Methods

__construct(MessageBusInterface $decoratedBus)

No description

mixed
dispatch(object|Envelope $message)

Dispatches the given message.

array
getDispatchedMessages()

No description

reset()

No description

Details

at line 22
__construct(MessageBusInterface $decoratedBus)

Parameters

MessageBusInterface $decoratedBus

at line 30
mixed dispatch(object|Envelope $message)

Dispatches the given message.

The bus can return a value coming from handlers, but is not required to do so.

Parameters

object|Envelope $message The message or the message pre-wrapped in an envelope

Return Value

mixed

at line 59
array getDispatchedMessages()

Return Value

array

at line 64
reset()