Transports
in package
implements
TransportInterface
Tags
Interfaces, Classes, Traits and Enums
- TransportInterface
- Interface for all mailer transports.
Table of Contents
- $default : mixed
- $transports : mixed
- __construct() : mixed
- __toString() : string
- send() : SentMessage|null
Properties
$default
private
mixed
$default
$transports
private
mixed
$transports
Methods
__construct()
public
__construct(array<string|int, TransportInterface> $transports) : mixed
Parameters
- $transports : array<string|int, TransportInterface>
Return values
mixed —__toString()
public
__toString() : string
Return values
string —send()
public
send(RawMessage $message[, Envelope $envelope = null ]) : SentMessage|null
Parameters
- $message : RawMessage
- $envelope : Envelope = null