PHP Class Webiny\Component\Mailer\Bridge\Mandrill\Mandrill

Inheritance: implements Webiny\Component\Mailer\Bridge\MailerInterface
Show file Open project: Webiny/Framework

Public Methods

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

Method Details

getMessage() public static method

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

getTransport() public static method

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