ILIAS  trunk Revision v11.0_alpha-1753-gb21ca8c4367
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
hasAmount.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
21 
30 interface hasAmount
31 {
37  public function withOldAmount(int $amount = 0): StandardNotification;
38 
44  public function withNewAmount(int $amount = 0): StandardNotification;
45 
50  public function getOldAmount(): int;
51 
56  public function getNewAmount(): int;
57 }
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:30
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.