19declare(strict_types=1);
61 $this->notifications[] = $notification;
79 return count($this->notifications);
88 foreach ($this->notifications as $notification) {
89 $count += $notification->getOldAmount();
100 foreach ($this->notifications as $notification) {
101 $count += $notification->getNewAmount();
An exception for terminatinating execution or to throw for unit testing.
Class StandardNotificationGroupRenderer.
Class AbstractBaseNotification.
Class StandardNotificationGroup Groups a set of Notification.
getOldNotificationsCount()
getRenderer(UIFactory $factory)
@inheritDoc
getNewNotificationsCount()
addNotification(StandardNotification $notification)
Class Notification The default Notification mapping currently to one UI Notification Item component.
Interface NotificationRenderer Every Notification should have a renderer, if you won't provide on in ...
Interface isStandardItem.
This is how the factory for UI elements looks.