File tree 1 file changed +7
-0
lines changed
Filter options
src/Symfony/Bundle/FrameworkBundle/DependencyInjection
1 file changed +7
-0
lines changed
Original file line number Diff line number Diff line change 151
151
use Symfony \Component \Notifier \Bridge \Zulip \ZulipTransportFactory ;
152
152
use Symfony \Component \Notifier \Notifier ;
153
153
use Symfony \Component \Notifier \Recipient \Recipient ;
154
+ use Symfony \Component \Notifier \Transport \TransportFactoryInterface as NotifierTransportFactoryInterface ;
154
155
use Symfony \Component \PropertyAccess \PropertyAccessor ;
155
156
use Symfony \Component \PropertyInfo \PropertyAccessExtractorInterface ;
156
157
use Symfony \Component \PropertyInfo \PropertyDescriptionExtractorInterface ;
@@ -2426,6 +2427,12 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
2426
2427
2427
2428
$ container ->getDefinition ('notifier.channel_policy ' )->setArgument (0 , $ config ['channel_policy ' ]);
2428
2429
2430
+ $ container ->registerForAutoconfiguration (NotifierTransportFactoryInterface::class)
2431
+ ->addTag ('chatter.transport_factory ' );
2432
+
2433
+ $ container ->registerForAutoconfiguration (NotifierTransportFactoryInterface::class)
2434
+ ->addTag ('texter.transport_factory ' );
2435
+
2429
2436
$ classToServices = [
2430
2437
AllMySmsTransportFactory::class => 'notifier.transport_factory.allmysms ' ,
2431
2438
AmazonSnsTransportFactory::class => 'notifier.transport_factory.amazonsns ' ,
You can’t perform that action at this time.
0 commit comments