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
3namespace App\Service\Data;
4
5use App\Entity\Notification;
6use App\Enum\NotificationStatus;
7use App\Service\Notification\Factory\NotificationProps;
8
9/**
10 * @author Wilhelm Zwertvaegher
11 */
12interface 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}