\NotificationService
Sends an email notificaiton
Synopsis
class NotificationService
implements
NotificationServiceInterface,NotificationAjaxServiceInterface
{
- // members
- private $providers;
- private NotificationParserInterface $parser;
- // methods
- public void __construct()
- public NotificationResponseInterface send()
- // Inherited methods from NotificationAjaxServiceTrait
- public array getUnreadNotificationCountForMember()
- public DataList getUnreadNotificationsForMember()
- public void markNotificationAsRead()
- public void markAllNotificationAsReadForMember()
- protected Member normalizeMember()
Hierarchy
Uses
Implements
Members
private
- $parser — NotificationParserInterface
- $providers — array
Methods
public
- __construct() — NotificationSenderService constructor.
- send() — {@inheritDoc}
Inherited from NotificationAjaxServiceTrait
protected
- normalizeMember() — Receives some member info as a Member Object, int or null. Return an appropriate member object.