class
Illuminate
/
Mail
/
Transport
/
ArrayTransport
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
ArrayTransport
Implements
- Stringable
- Symfony\...\TransportInterface
Properties
protected
$messages
Illuminate\...\Collection
The collection of Symfony Messages.
Default: null
Methods
public
__construct
(
)
:
void
Create a new array transport instance.
public
send ( Symfony\...\RawMessage $message , Symfony\...\Envelope $envelope ) : void
{@inheritdoc}
public
messages ( ) : Illuminate\...\Collection
Retrieve the collection of messages.
public
flush ( ) : Illuminate\...\Collection
Clear all of the messages from the local collection.
public
__toString ( ) : string
Get the string representation of the transport.