Move two notification flag providers to person bundle

This commit is contained in:
Julie Lenaerts 2025-07-03 17:17:25 +02:00
parent 29f49ee81d
commit 1a99906339
4 changed files with 19 additions and 3 deletions

View File

@ -14,7 +14,15 @@ services:
Chill\MainBundle\Notification\NotificationFlagManager:
arguments:
$notificationFlagProviders: !tagged_iterator chill_main.notification_flag_provider
$notificationFlagProviders: !tagged_iterator notification_flag_provider
Chill\MainBundle\Notification\FlagProviders\NotificationByUserFlagProvider:
tags:
- { name: notification_flag_provider }
Chill\MainBundle\Notification\FlagProviders\WorkflowTransitionNotificationFlagProvider:
tags:
- { name: notification_flag_provider }
Chill\MainBundle\Notification\NotificationHandlerManager:
arguments:

View File

@ -1,7 +1,8 @@
<?php
namespace Chill\MainBundle\Notification\FlagProviders;
namespace Chill\PersonBundle\Notification\FlagProviders;
use Chill\MainBundle\Notification\FlagProviders\NotificationFlagProviderInterface;
use Symfony\Component\Translation\TranslatableMessage;
use Symfony\Contracts\Translation\TranslatableInterface;

View File

@ -1,7 +1,8 @@
<?php
namespace Chill\MainBundle\Notification\FlagProviders;
namespace Chill\PersonBundle\Notification\FlagProviders;
use Chill\MainBundle\Notification\FlagProviders\NotificationFlagProviderInterface;
use Symfony\Component\Translation\TranslatableMessage;
use Symfony\Contracts\Translation\TranslatableInterface;

View File

@ -8,3 +8,9 @@ services:
Chill\PersonBundle\Notification\AccompanyingPeriodWorkEvaluationDocumentNotificationHandler:
autowire: true
autoconfigure: true
Chill\PersonBundle\Notification\FlagProviders\DesignatedReferrerNotificationFlagProvider:
tags:
- { name: notification_flag_provider }
Chill\PersonBundle\Notification\FlagProviders\PersonAddressMoveNotificationFlagProvider:
tags:
- { name: notification_flag_provider }