Code Coverage |
||||||||||||||||
Lines |
Branches |
Paths |
Functions and Methods |
Classes and Traits |
||||||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||||
| 1 | <?php |
| 2 | |
| 3 | namespace App\Service\Data; |
| 4 | |
| 5 | use App\Entity\Notification; |
| 6 | use App\Enum\NotificationStatus; |
| 7 | use App\Service\Notification\Factory\NotificationProps; |
| 8 | |
| 9 | /** |
| 10 | * @author Wilhelm Zwertvaegher |
| 11 | */ |
| 12 | interface NotificationServiceInterface |
| 13 | { |
| 14 | public function getById(int $id): ?Notification; |
| 15 | |
| 16 | public function save(Notification $notification): void; |
| 17 | |
| 18 | public function create(NotificationProps $props): Notification; |
| 19 | |
| 20 | public function updateStatus(Notification $notification, NotificationStatus $notificationStatus): void; |
| 21 | } |