class TraceableMessageBus implements MessageBusInterface

Methods

__construct(MessageBusInterface $decoratedBus)

No description

dispatch(object|Envelope $message)

Dispatches the given message.

array
getDispatchedMessages()

No description

reset()

No description

Details

__construct(MessageBusInterface $decoratedBus)

Parameters

MessageBusInterface $decoratedBus

Envelope dispatch(object|Envelope $message)

Dispatches the given message.

Parameters

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

Return Value

Envelope

array getDispatchedMessages()

Return Value

array

reset()