ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
hasAmount.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
31interface 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.
Interface hasAmount Items can implicitly contain a various amount of news.
Definition: hasAmount.php:32
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.