19 declare(strict_types=1);
62 $this->notifications[] = $notification;
80 return count($this->notifications);
89 foreach ($this->notifications as $notification) {
90 $count += $notification->getOldAmount();
101 foreach ($this->notifications as $notification) {
102 $count += $notification->getNewAmount();
Class AbstractBaseNotification.
Class Notification The default Notification mapping currently to one UI Notification Item component...
getNewNotificationsCount()
getOldNotificationsCount()
Interface isStandardItem.
getRenderer(UIFactory $factory)
Class StandardNotificationGroupRenderer.
Class StandardNotificationGroup Groups a set of Notification.
Interface NotificationRenderer Every Notification should have a renderer, if you won't provide on in ...
addNotification(StandardNotification $notification)