Skip to content

Commit b2255f0

Browse files
committed
feature #39617 [Notifier] Add AllMySms Bridge (qdequippe)
This PR was squashed before being merged into the 5.3-dev branch. Discussion ---------- [Notifier] Add AllMySms Bridge | Q | A | ------------- | --- | Branch? | 5.x | Bug fix? | no | New feature? | yes | Deprecations? | no | License | MIT | Doc PR | symfony/symfony-docs#14739 | Recipe | symfony/recipes#865 Add AllMySms bridge to Symfony Notifier Commits ------- 4a71c36174 [Notifier] Add AllMySms Bridge
2 parents d823a92 + 99f56c4 commit b2255f0

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
use Symfony\Component\Mime\Header\Headers;
102102
use Symfony\Component\Mime\MimeTypeGuesserInterface;
103103
use Symfony\Component\Mime\MimeTypes;
104+
use Symfony\Component\Notifier\Bridge\AllMySms\AllMySmsTransportFactory;
104105
use Symfony\Component\Notifier\Bridge\Discord\DiscordTransportFactory;
105106
use Symfony\Component\Notifier\Bridge\Esendex\EsendexTransportFactory;
106107
use Symfony\Component\Notifier\Bridge\Firebase\FirebaseTransportFactory;
@@ -2227,6 +2228,7 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
22272228
RocketChatTransportFactory::class => 'notifier.transport_factory.rocketchat',
22282229
InfobipTransportFactory::class => 'notifier.transport_factory.infobip',
22292230
TwilioTransportFactory::class => 'notifier.transport_factory.twilio',
2231+
AllMySmsTransportFactory::class => 'notifier.transport_factory.allmysms',
22302232
FirebaseTransportFactory::class => 'notifier.transport_factory.firebase',
22312233
FreeMobileTransportFactory::class => 'notifier.transport_factory.freemobile',
22322234
OvhCloudTransportFactory::class => 'notifier.transport_factory.ovhcloud',

Resources/config/notifier_transports.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
1313

14+
use Symfony\Component\Notifier\Bridge\AllMySms\AllMySmsTransportFactory;
1415
use Symfony\Component\Notifier\Bridge\Discord\DiscordTransportFactory;
1516
use Symfony\Component\Notifier\Bridge\Esendex\EsendexTransportFactory;
1617
use Symfony\Component\Notifier\Bridge\Firebase\FirebaseTransportFactory;
@@ -74,6 +75,10 @@
7475
->parent('notifier.transport_factory.abstract')
7576
->tag('texter.transport_factory')
7677

78+
->set('notifier.transport_factory.allmysms', AllMySmsTransportFactory::class)
79+
->parent('notifier.transport_factory.abstract')
80+
->tag('texter.transport_factory')
81+
7782
->set('notifier.transport_factory.firebase', FirebaseTransportFactory::class)
7883
->parent('notifier.transport_factory.abstract')
7984
->tag('chatter.transport_factory')

0 commit comments

Comments
 (0)