File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 22
22
use Symfony \Component \Notifier \ChatterInterface ;
23
23
use Symfony \Component \Notifier \EventListener \NotificationLoggerListener ;
24
24
use Symfony \Component \Notifier \EventListener \SendFailedMessageToNotifierListener ;
25
+ use Symfony \Component \Notifier \FlashMessage \DefaultFlashMessageImportanceMapper ;
25
26
use Symfony \Component \Notifier \Message \ChatMessage ;
26
27
use Symfony \Component \Notifier \Message \PushMessage ;
27
28
use Symfony \Component \Notifier \Message \SmsMessage ;
43
44
->set ('notifier.channel_policy ' , ChannelPolicy::class)
44
45
->args ([[]])
45
46
47
+ ->set ('notifier.flash_message_importance_mapper ' , DefaultFlashMessageImportanceMapper::class)
48
+ ->args ([[]])
49
+
46
50
->set ('notifier.channel.browser ' , BrowserChannel::class)
47
- ->args ([service ('request_stack ' )])
51
+ ->args ([service ('request_stack ' ), service ( ' notifier.flash_message_importance_mapper ' ) ])
48
52
->tag ('notifier.channel ' , ['channel ' => 'browser ' ])
49
53
50
54
->set ('notifier.channel.chat ' , ChatChannel::class)
You can’t perform that action at this time.
0 commit comments