mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-07 15:25:00 +00:00
notificaiton: improve NotificationHandlerInterface + mark notification
as unread if a comment is appended
This commit is contained in:
@@ -18,7 +18,7 @@ interface NotificationHandlerInterface
|
||||
/**
|
||||
* Return the template path (twig file).
|
||||
*/
|
||||
public function getTemplate(array $options = []): string;
|
||||
public function getTemplate(Notification $notification, array $options = []): string;
|
||||
|
||||
/**
|
||||
* Return an array which will be passed as data for the template.
|
||||
|
Reference in New Issue
Block a user