57 $this->notifications[] = $notification;
76 return count($this->notifications);
85 foreach ($this->notifications as $notification) {
86 $count += $notification->getOldAmount();
97 foreach ($this->notifications as $notification) {
98 $count += $notification->getNewAmount();
An exception for terminatinating execution or to throw for unit testing.
Class StandardNotificationGroupRenderer.
Class AbstractBaseNotification.
Class StandardNotificationGroup.
getOldNotificationsCount()
getRenderer(UIFactory $factory)
@inheritDoc
getNewNotificationsCount()
addNotification(StandardNotification $notification)
Interface NotificationRenderer.
Interface isStandardItem.
This is how the factory for UI elements looks.