ArrayTransport
class ArrayTransport implements Stringable, TransportInterface (View source)
Properties
| protected Collection | $messages | The collection of Symfony Messages. |
Methods
void
__construct()
Create a new array transport instance.
SentMessage|null
send(RawMessage $message, Envelope|null $envelope = null)
{@inheritdoc}
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
void
__construct()
Create a new array transport instance.
SentMessage|null
send(RawMessage $message, Envelope|null $envelope = null)
{@inheritdoc}
Collection
messages()
Retrieve the collection of messages.
Collection
flush()
Clear all of the messages from the local collection.
string
__toString()
Get the string representation of the transport.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.