ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
hasAmount.php
Go to the documentation of this file.
2 
12 interface hasAmount
13 {
14 
21  public function withOldAmount(int $amount = 0) : StandardNotification;
22 
29  public function withNewAmount(int $amount = 0) : StandardNotification;
30 
36  public function getOldAmount() : int;
37 
43  public function getNewAmount() : int;
44 }
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:12
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.