|
110 | 110 | use Symfony\Component\Mime\MimeTypeGuesserInterface;
|
111 | 111 | use Symfony\Component\Mime\MimeTypes;
|
112 | 112 | use Symfony\Component\Notifier\Bridge\AllMySms\AllMySmsTransportFactory;
|
| 113 | +use Symfony\Component\Notifier\Bridge\AmazonSns\AmazonSnsTransportFactory; |
113 | 114 | use Symfony\Component\Notifier\Bridge\Clickatell\ClickatellTransportFactory;
|
114 | 115 | use Symfony\Component\Notifier\Bridge\Discord\DiscordTransportFactory;
|
115 | 116 | use Symfony\Component\Notifier\Bridge\Esendex\EsendexTransportFactory;
|
@@ -2421,6 +2422,7 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
|
2421 | 2422 |
|
2422 | 2423 | $classToServices = [
|
2423 | 2424 | AllMySmsTransportFactory::class => 'notifier.transport_factory.allmysms',
|
| 2425 | + AmazonSnsTransportFactory::class => 'notifier.transport_factory.amazonsns', |
2424 | 2426 | ClickatellTransportFactory::class => 'notifier.transport_factory.clickatell',
|
2425 | 2427 | DiscordTransportFactory::class => 'notifier.transport_factory.discord',
|
2426 | 2428 | EsendexTransportFactory::class => 'notifier.transport_factory.esendex',
|
@@ -2464,6 +2466,7 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
|
2464 | 2466 |
|
2465 | 2467 | foreach ($classToServices as $class => $service) {
|
2466 | 2468 | switch ($package = substr($service, \strlen('notifier.transport_factory.'))) {
|
| 2469 | + case 'amazonsns': $package = 'amazon-sns'; break; |
2467 | 2470 | case 'fakechat': $package = 'fake-chat'; break;
|
2468 | 2471 | case 'fakesms': $package = 'fake-sms'; break;
|
2469 | 2472 | case 'freemobile': $package = 'free-mobile'; break;
|
|
0 commit comments