Namshi\Notificator\Notification\Handler\SwiftMailer::handle PHP Method

handle() public method

public handle ( Namshi\Notificator\NotificationInterface $notification )
$notification Namshi\Notificator\NotificationInterface
    public function handle(NotificationInterface $notification)
    {
        $this->getMailer()->send($notification->getMessage());
        return true;
    }