Transports
in package
implements
TransportInterface
FinalYes
Tags
Table of Contents
Interfaces
- TransportInterface
- Interface for all mailer transports.
Properties
- $default : mixed
- $transports : mixed
Methods
- __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>
__toString()
public
__toString() : string
Return values
stringsend()
public
send(RawMessage $message[, Envelope|null $envelope = null ]) : SentMessage|null
Parameters
- $message : RawMessage
- $envelope : Envelope|null = null