Skip to content

Commit 01fee75

Browse files
committed
feature #46395 [Notifier] Add Contact Everyone Bridge (franckranaivo)
This PR was squashed before being merged into the 6.2 branch. Discussion ---------- [Notifier] Add Contact Everyone Bridge | Q | A | ------------- | --- | Branch? | 6.2 | Bug fix? | no | New feature? | yes | Deprecations? | no | License | MIT | Doc PR | TODO Add Contact Everyone Bridge by Orange Business. This bridge uses the light version of the api which allows SMS to be sent individually. Commits ------- 539d2a1ad0 [Notifier] Add Contact Everyone Bridge
2 parents 3d7b46c + 4894b74 commit 01fee75

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
@@ -122,6 +122,7 @@
122122
use Symfony\Component\Notifier\Bridge\AllMySms\AllMySmsTransportFactory;
123123
use Symfony\Component\Notifier\Bridge\AmazonSns\AmazonSnsTransportFactory;
124124
use Symfony\Component\Notifier\Bridge\Clickatell\ClickatellTransportFactory;
125+
use Symfony\Component\Notifier\Bridge\ContactEveryone\ContactEveryoneTransportFactory;
125126
use Symfony\Component\Notifier\Bridge\Discord\DiscordTransportFactory;
126127
use Symfony\Component\Notifier\Bridge\Engagespot\EngagespotTransportFactory;
127128
use Symfony\Component\Notifier\Bridge\Esendex\EsendexTransportFactory;
@@ -2519,6 +2520,7 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
25192520
AllMySmsTransportFactory::class => 'notifier.transport_factory.all-my-sms',
25202521
AmazonSnsTransportFactory::class => 'notifier.transport_factory.amazon-sns',
25212522
ClickatellTransportFactory::class => 'notifier.transport_factory.clickatell',
2523+
ContactEveryoneTransportFactory::class => 'notifier.transport_factory.contact-everyone',
25222524
DiscordTransportFactory::class => 'notifier.transport_factory.discord',
25232525
EngagespotTransportFactory::class => 'notifier.transport_factory.engagespot',
25242526
EsendexTransportFactory::class => 'notifier.transport_factory.esendex',

Resources/config/notifier_transports.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
use Symfony\Component\Notifier\Bridge\AllMySms\AllMySmsTransportFactory;
1515
use Symfony\Component\Notifier\Bridge\AmazonSns\AmazonSnsTransportFactory;
1616
use Symfony\Component\Notifier\Bridge\Clickatell\ClickatellTransportFactory;
17+
use Symfony\Component\Notifier\Bridge\ContactEveryone\ContactEveryoneTransportFactory;
1718
use Symfony\Component\Notifier\Bridge\Discord\DiscordTransportFactory;
1819
use Symfony\Component\Notifier\Bridge\Engagespot\EngagespotTransportFactory;
1920
use Symfony\Component\Notifier\Bridge\Esendex\EsendexTransportFactory;
@@ -198,6 +199,10 @@
198199
->parent('notifier.transport_factory.abstract')
199200
->tag('texter.transport_factory')
200201

202+
->set('notifier.transport_factory.contact-everyone', ContactEveryoneTransportFactory::class)
203+
->parent('notifier.transport_factory.abstract')
204+
->tag('texter.transport_factory')
205+
201206
->set('notifier.transport_factory.amazon-sns', AmazonSnsTransportFactory::class)
202207
->parent('notifier.transport_factory.abstract')
203208
->tag('texter.transport_factory')

0 commit comments

Comments
 (0)