class Illuminate / Mail / Transport / ArrayTransport

ArrayTransport

Implements

  • 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.