ArrayTransport
class ArrayTransport implements Stringable, TransportInterface
Properties
| protected Collection | $messages | The collection of Symfony Messages. |
Methods
__construct()
Create a new array transport instance.
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.
string
__toString()
Get the string representation of the transport.
Details
at line 24
__construct()
Create a new array transport instance.
at line 29
SentMessage|null
send(RawMessage $message, Envelope|null $envelope = null)
No description
at line 37
Collection
messages()
Retrieve the collection of messages.
at line 45
Collection
flush()
Clear all of the messages from the local collection.
at line 53
string
__toString()
Get the string representation of the transport.