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

handle() public method

public handle ( Namshi\Notificator\NotificationInterface $notification )
$notification Namshi\Notificator\NotificationInterface
    public function handle(NotificationInterface $notification)
    {
        foreach ($notification->getRecipientAddresses() as $recipientAddress) {
            $this->getEmailClient()->sendEmail($notification->getEmailTemplate(), $recipientAddress, $notification->getParameters());
        }
        return true;
    }