Mailer
in package
implements
MailerInterface
FinalYes
Tags
Table of Contents
Interfaces
- MailerInterface
- Interface for mailers able to send emails synchronous and/or asynchronous.
Properties
- $bus : mixed
- $dispatcher : mixed
- $transport : mixed
Methods
- __construct() : mixed
- send() : void
Properties
$bus
private
mixed
$bus
$dispatcher
private
mixed
$dispatcher
$transport
private
mixed
$transport
Methods
__construct()
public
__construct(TransportInterface $transport[, MessageBusInterface|null $bus = null ][, EventDispatcherInterface|null $dispatcher = null ]) : mixed
Parameters
- $transport : TransportInterface
- $bus : MessageBusInterface|null = null
- $dispatcher : EventDispatcherInterface|null = null
send()
public
send(RawMessage $message[, Envelope|null $envelope = null ]) : void
Parameters
- $message : RawMessage
- $envelope : Envelope|null = null