ArrayTransport
class ArrayTransport implements Stringable, TransportInterface
Constants
| MESSAGE_STORE_CONTEXT_KEY |
The coroutine context key for array transport messages. |
Methods
SentMessage|null
send(RawMessage $message, Envelope|null $envelope = null)
No description
messages()
Retrieve the collection of messages.
flush()
Clear all of the messages from the local collection.
messageStore()
Retrieve the current message store.
string
__toString()
Get the string representation of the transport.
Details
at line 22
SentMessage|null
send(RawMessage $message, Envelope|null $envelope = null)
No description
at line 30
Collection
messages()
Retrieve the collection of messages.
at line 38
Collection
flush()
Clear all of the messages from the local collection.
at line 46
protected ArrayTransportMessageStore
messageStore()
Retrieve the current message store.
at line 58
string
__toString()
Get the string representation of the transport.