notificaiton: improve NotificationHandlerInterface + mark notification

as unread if a comment is appended
This commit is contained in:
2022-01-04 19:02:03 +01:00
parent ebc6d21ba6
commit 4ef024516c
5 changed files with 40 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ final class AccompanyingPeriodNotificationHandler implements NotificationHandler
$this->accompanyingPeriodRepository = $accompanyingPeriodRepository;
}
public function getTemplate(array $options = []): string
public function getTemplate(Notification $notification, array $options = []): string
{
return 'ChillPersonBundle:AccompanyingPeriod:showInNotification.html.twig';
}