ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
hasAmount.php
Go to the documentation of this file.
2
12interface 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}
An exception for terminatinating execution or to throw for unit testing.
Interface hasAmount Items can implicitly contain a various amount of news.
Definition: hasAmount.php:13
withOldAmount(int $amount=0)
Set the amount of old notes, the notification contains.
getOldAmount()
Get the amount of new notes, the notification contains.
withNewAmount(int $amount=0)
Set the amount of new notes, the notification contains.
getNewAmount()
Get the amount of new notes, the notification contains.