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