interface MessageBusInterface

Methods

dispatch(object|Envelope $message)

Dispatches the given message.

Details

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