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 2222use Symfony \Component \Notifier \ChatterInterface ;
2323use Symfony \Component \Notifier \EventListener \NotificationLoggerListener ;
2424use Symfony \Component \Notifier \EventListener \SendFailedMessageToNotifierListener ;
25+ use Symfony \Component \Notifier \FlashMessage \DefaultFlashMessageImportanceMapper ;
2526use Symfony \Component \Notifier \Message \ChatMessage ;
2627use Symfony \Component \Notifier \Message \PushMessage ;
2728use Symfony \Component \Notifier \Message \SmsMessage ;
4344 ->set ('notifier.channel_policy ' , ChannelPolicy::class)
4445 ->args ([[]])
4546
47+ ->set ('notifier.flash_message_importance_mapper ' , DefaultFlashMessageImportanceMapper::class)
48+ ->args ([[]])
49+
4650 ->set ('notifier.channel.browser ' , BrowserChannel::class)
47- ->args ([service ('request_stack ' )])
51+ ->args ([service ('request_stack ' ), service ( ' notifier.flash_message_importance_mapper ' ) ])
4852 ->tag ('notifier.channel ' , ['channel ' => 'browser ' ])
4953
5054 ->set ('notifier.channel.chat ' , ChatChannel::class)
You can’t perform that action at this time.
0 commit comments