On this page
ArrayTransport
class ArrayTransport implements 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 $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. |
Details
void __construct()
Create a new array transport instance.
SentMessage|null send(RawMessage $message, Envelope $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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Mail/Transport/ArrayTransport.html