interface MessageBusInterface

Methods

Envelope
dispatch(object$message,array$stamps =[])

Dispatches the given message.

Details

Envelope dispatch(object$message,array$stamps =[])

Dispatches the given message.

Parameters

object $message The message or the message pre-wrapped in an envelope
array $stamps

Return Value

Envelope