|
122 | 122 | use Symfony\Component\Notifier\Bridge\GoogleChat\GoogleChatTransportFactory;
|
123 | 123 | use Symfony\Component\Notifier\Bridge\Infobip\InfobipTransportFactory;
|
124 | 124 | use Symfony\Component\Notifier\Bridge\Iqsms\IqsmsTransportFactory;
|
| 125 | +use Symfony\Component\Notifier\Bridge\LightSms\LightSmsTransportFactory; |
125 | 126 | use Symfony\Component\Notifier\Bridge\LinkedIn\LinkedInTransportFactory;
|
126 | 127 | use Symfony\Component\Notifier\Bridge\Mattermost\MattermostTransportFactory;
|
127 | 128 | use Symfony\Component\Notifier\Bridge\Mercure\MercureTransportFactory;
|
| 129 | +use Symfony\Component\Notifier\Bridge\MessageBird\MessageBirdTransport; |
128 | 130 | use Symfony\Component\Notifier\Bridge\MicrosoftTeams\MicrosoftTeamsTransportFactory;
|
129 | 131 | use Symfony\Component\Notifier\Bridge\Mobyt\MobytTransportFactory;
|
130 | 132 | use Symfony\Component\Notifier\Bridge\Nexmo\NexmoTransportFactory;
|
|
135 | 137 | use Symfony\Component\Notifier\Bridge\Sinch\SinchTransportFactory;
|
136 | 138 | use Symfony\Component\Notifier\Bridge\Slack\SlackTransportFactory;
|
137 | 139 | use Symfony\Component\Notifier\Bridge\Smsapi\SmsapiTransportFactory;
|
| 140 | +use Symfony\Component\Notifier\Bridge\SmsBiuras\SmsBiurasTransportFactory; |
138 | 141 | use Symfony\Component\Notifier\Bridge\SpotHit\SpotHitTransportFactory;
|
139 | 142 | use Symfony\Component\Notifier\Bridge\Telegram\TelegramTransportFactory;
|
140 | 143 | use Symfony\Component\Notifier\Bridge\Twilio\TwilioTransportFactory;
|
@@ -2368,47 +2371,57 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
|
2368 | 2371 | $container->getDefinition('notifier.channel_policy')->setArgument(0, $config['channel_policy']);
|
2369 | 2372 |
|
2370 | 2373 | $classToServices = [
|
2371 |
| - SlackTransportFactory::class => 'notifier.transport_factory.slack', |
2372 |
| - TelegramTransportFactory::class => 'notifier.transport_factory.telegram', |
2373 |
| - MattermostTransportFactory::class => 'notifier.transport_factory.mattermost', |
2374 |
| - GoogleChatTransportFactory::class => 'notifier.transport_factory.googlechat', |
2375 |
| - NexmoTransportFactory::class => 'notifier.transport_factory.nexmo', |
2376 |
| - IqsmsTransportFactory::class => 'notifier.transport_factory.iqsms', |
2377 |
| - RocketChatTransportFactory::class => 'notifier.transport_factory.rocketchat', |
2378 |
| - InfobipTransportFactory::class => 'notifier.transport_factory.infobip', |
2379 |
| - TwilioTransportFactory::class => 'notifier.transport_factory.twilio', |
2380 | 2374 | AllMySmsTransportFactory::class => 'notifier.transport_factory.allmysms',
|
2381 |
| - FirebaseTransportFactory::class => 'notifier.transport_factory.firebase', |
2382 |
| - FreeMobileTransportFactory::class => 'notifier.transport_factory.freemobile', |
2383 |
| - SpotHitTransportFactory::class => 'notifier.transport_factory.spothit', |
| 2375 | + ClickatellTransportFactory::class => 'notifier.transport_factory.clickatell', |
| 2376 | + DiscordTransportFactory::class => 'notifier.transport_factory.discord', |
| 2377 | + EsendexTransportFactory::class => 'notifier.transport_factory.esendex', |
2384 | 2378 | FakeChatTransportFactory::class => 'notifier.transport_factory.fakechat',
|
2385 | 2379 | FakeSmsTransportFactory::class => 'notifier.transport_factory.fakesms',
|
2386 |
| - OvhCloudTransportFactory::class => 'notifier.transport_factory.ovhcloud', |
2387 |
| - SinchTransportFactory::class => 'notifier.transport_factory.sinch', |
2388 |
| - ZulipTransportFactory::class => 'notifier.transport_factory.zulip', |
2389 |
| - MobytTransportFactory::class => 'notifier.transport_factory.mobyt', |
2390 |
| - SmsapiTransportFactory::class => 'notifier.transport_factory.smsapi', |
2391 |
| - EsendexTransportFactory::class => 'notifier.transport_factory.esendex', |
2392 |
| - SendinblueNotifierTransportFactory::class => 'notifier.transport_factory.sendinblue', |
2393 |
| - DiscordTransportFactory::class => 'notifier.transport_factory.discord', |
2394 |
| - LinkedInTransportFactory::class => 'notifier.transport_factory.linkedin', |
| 2380 | + FirebaseTransportFactory::class => 'notifier.transport_factory.firebase', |
| 2381 | + FreeMobileTransportFactory::class => 'notifier.transport_factory.freemobile', |
2395 | 2382 | GatewayApiTransportFactory::class => 'notifier.transport_factory.gatewayapi',
|
2396 |
| - OctopushTransportFactory::class => 'notifier.transport_factory.octopush', |
2397 |
| - MercureTransportFactory::class => 'notifier.transport_factory.mercure', |
2398 | 2383 | GitterTransportFactory::class => 'notifier.transport_factory.gitter',
|
2399 |
| - ClickatellTransportFactory::class => 'notifier.transport_factory.clickatell', |
| 2384 | + GoogleChatTransportFactory::class => 'notifier.transport_factory.googlechat', |
| 2385 | + InfobipTransportFactory::class => 'notifier.transport_factory.infobip', |
| 2386 | + IqsmsTransportFactory::class => 'notifier.transport_factory.iqsms', |
| 2387 | + LightSmsTransportFactory::class => 'notifier.transport_factory.lightsms', |
| 2388 | + LinkedInTransportFactory::class => 'notifier.transport_factory.linkedin', |
| 2389 | + MattermostTransportFactory::class => 'notifier.transport_factory.mattermost', |
| 2390 | + MercureTransportFactory::class => 'notifier.transport_factory.mercure', |
| 2391 | + MessageBirdTransport::class => 'notifier.transport_factory.messagebird', |
2400 | 2392 | MicrosoftTeamsTransportFactory::class => 'notifier.transport_factory.microsoftteams',
|
| 2393 | + MobytTransportFactory::class => 'notifier.transport_factory.mobyt', |
| 2394 | + NexmoTransportFactory::class => 'notifier.transport_factory.nexmo', |
| 2395 | + OctopushTransportFactory::class => 'notifier.transport_factory.octopush', |
| 2396 | + OvhCloudTransportFactory::class => 'notifier.transport_factory.ovhcloud', |
| 2397 | + RocketChatTransportFactory::class => 'notifier.transport_factory.rocketchat', |
| 2398 | + SendinblueNotifierTransportFactory::class => 'notifier.transport_factory.sendinblue', |
| 2399 | + SinchTransportFactory::class => 'notifier.transport_factory.sinch', |
| 2400 | + SlackTransportFactory::class => 'notifier.transport_factory.slack', |
| 2401 | + SmsapiTransportFactory::class => 'notifier.transport_factory.smsapi', |
| 2402 | + SmsBiurasTransportFactory::class => 'notifier.transport_factory.smsbiuras', |
| 2403 | + SpotHitTransportFactory::class => 'notifier.transport_factory.spothit', |
| 2404 | + TelegramTransportFactory::class => 'notifier.transport_factory.telegram', |
| 2405 | + TwilioTransportFactory::class => 'notifier.transport_factory.twilio', |
| 2406 | + ZulipTransportFactory::class => 'notifier.transport_factory.zulip', |
2401 | 2407 | ];
|
2402 | 2408 |
|
2403 | 2409 | $parentPackages = ['symfony/framework-bundle', 'symfony/notifier'];
|
2404 | 2410 |
|
2405 | 2411 | foreach ($classToServices as $class => $service) {
|
2406 | 2412 | switch ($package = substr($service, \strlen('notifier.transport_factory.'))) {
|
| 2413 | + case 'fakechat': $package = 'fake-chat'; break; |
| 2414 | + case 'fakesms': $package = 'fake-sms'; break; |
2407 | 2415 | case 'freemobile': $package = 'free-mobile'; break;
|
2408 | 2416 | case 'googlechat': $package = 'google-chat'; break;
|
| 2417 | + case 'lightsms': $package = 'light-sms'; break; |
2409 | 2418 | case 'linkedin': $package = 'linked-in'; break;
|
| 2419 | + case 'messagebird': $package = 'message-bird'; break; |
| 2420 | + case 'microsoftteams': $package = 'microsoft-teams'; break; |
2410 | 2421 | case 'ovhcloud': $package = 'ovh-cloud'; break;
|
2411 | 2422 | case 'rocketchat': $package = 'rocket-chat'; break;
|
| 2423 | + case 'smsbiuras': $package = 'sms-biuras'; break; |
| 2424 | + case 'spothit': $package = 'spot-hit'; break; |
2412 | 2425 | }
|
2413 | 2426 |
|
2414 | 2427 | if (!ContainerBuilder::willBeAvailable(sprintf('symfony/%s-notifier', $package), $class, $parentPackages)) {
|
|
0 commit comments