Add a separate method for onPersist, use same private resetCache method

This commit is contained in:
2023-12-13 10:12:56 +01:00
committed by Julien Fastré
parent d58c0a867d
commit 32ae2f8f0d
2 changed files with 7 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ services:
entity: 'Chill\MainBundle\Entity\NotificationComment'
# set the 'lazy' option to TRUE to only instantiate listeners when they are used
lazy: true
method: 'onEditNotificationComment'
method: 'onPersistNotificationComment'
Chill\MainBundle\Notification\Email\NotificationMailer:
autowire: true