68 $clone->old_amount = $amount;
80 $clone->new_amount = $amount;
An exception for terminatinating execution or to throw for unit testing.
Class AbstractBaseNotification.
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.