19 declare(strict_types=1);
71 $clone->old_amount = $amount;
82 $clone->new_amount = $amount;
getOldAmount()
Get the amount of new notes, the notification contains.int
Class AbstractBaseNotification.
Class Notification The default Notification mapping currently to one UI Notification Item component...
Interface isStandardItem.
Interface hasAmount Items can implicitly contain a various amount of news.
getNewAmount()
Get the amount of new notes, the notification contains.int
withOldAmount(int $amount=0)
Set the amount of old notes, the notification contains.StandardNotification
withNewAmount(int $amount=0)
Set the amount of new notes, the notification contains.StandardNotification
withNotificationItem(NotificationItem $notification_item)