PHP Class Namshi\Notificator\Notification\Handler\SwiftMailer

Inheritance: extends Namshi\Notificator\Notification\Handler\Email
Mostra file Open project: namshi/notificator

Protected Properties

Property Type Description
$mailer Swift_Mailer

Public Methods

Method Description
__construct ( Swift_Mailer $mailer ) Constructor
getMailer ( ) : Swift_Mailer
handle ( Namshi\Notificator\NotificationInterface $notification )
shouldHandle ( Namshi\Notificator\NotificationInterface $notification )

Method Details

__construct() public method

Constructor
public __construct ( Swift_Mailer $mailer )
$mailer Swift_Mailer

getMailer() public method

public getMailer ( ) : Swift_Mailer
return Swift_Mailer

handle() public method

public handle ( Namshi\Notificator\NotificationInterface $notification )
$notification Namshi\Notificator\NotificationInterface

shouldHandle() public method

public shouldHandle ( Namshi\Notificator\NotificationInterface $notification )
$notification Namshi\Notificator\NotificationInterface

Property Details

$mailer protected_oe property

protected Swift_Mailer $mailer
return Swift_Mailer