PHP Class Webiny\Component\Mailer\Bridge\Sendgrid\Sendgrid

Inheritance: implements Webiny\Component\Mailer\Bridge\MailerInterface
Afficher le fichier Open project: Webiny/Framework

Méthodes publiques

Méthode 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 méthode

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

getTransport() public static méthode

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