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 $bus = null ][, EventDispatcherInterface $dispatcher = null ]) : mixed
Parameters
- $transport : TransportInterface
- $bus : MessageBusInterface = null
- $dispatcher : EventDispatcherInterface = null
send()
public
send(RawMessage $message[, Envelope $envelope = null ]) : void
Parameters
- $message : RawMessage
- $envelope : Envelope = null