ILIAS  trunk Revision v11.0_alpha-2658-ge2404539063
hasAmount.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
31 interface hasAmount
32 {
38  public function withOldAmount(int $amount = 0): StandardNotification;
39 
45  public function withNewAmount(int $amount = 0): StandardNotification;
46 
51  public function getOldAmount(): int;
52 
57  public function getNewAmount(): int;
58 }
Class Notification The default Notification mapping currently to one UI Notification Item component...
getNewAmount()
Get the amount of new notes, the notification contains.
getOldAmount()
Get the amount of new notes, the notification contains.
Interface hasAmount Items can implicitly contain a various amount of news.
Definition: hasAmount.php:31
withOldAmount(int $amount=0)
Set the amount of old notes, the notification contains.
withNewAmount(int $amount=0)
Set the amount of new notes, the notification contains.