PHP Interface Webiny\Component\Mailer\Bridge\MailerInterface

Show file Open project: Webiny/Framework

Public Methods

Method Description
getMessage ( ConfigObject $config ) : MessageInterface Returns an instance of MessageInterface.
getTransport ( ConfigObject $config ) : Webiny\Component\Mailer\TransportInterface Returns an instance of TransportInterface.

Method Details

getMessage() static public method

Returns an instance of MessageInterface.
static public getMessage ( ConfigObject $config ) : MessageInterface
$config Webiny\Component\Config\ConfigObject The configuration of current mailer
return MessageInterface

getTransport() static public method

Returns an instance of TransportInterface.
static public getTransport ( ConfigObject $config ) : Webiny\Component\Mailer\TransportInterface
$config Webiny\Component\Config\ConfigObject The configuration of current mailer.
return Webiny\Component\Mailer\TransportInterface