MessageBusInterface
in
Tags
Table of Contents
Methods
- dispatch() : Envelope
- Dispatches the given message.
Methods
dispatch()
Dispatches the given message.
public
dispatch(object|Envelope $message[, array<string|int, StampInterface> $stamps = [] ]) : Envelope
Parameters
- $message : object|Envelope
-
The message or the message pre-wrapped in an envelope
- $stamps : array<string|int, StampInterface> = []