ILIAS  release_8 Revision v8.24
hasAmount.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
21
30interface 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.
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.
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.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...