/** * @inheritDoc */ public function handle(NotificationInterface $notification) { $this->getEmailClient()->sendEmail($notification->getEmailTemplate(), $notification->getRecipientAddress(), $notification->getParameters()); return true; }
public function handle(NotificationInterface $notification) { mail($notification->getRecipientAddress(), $notification->subject, $notification->body); }