Skip to content

Commit 07a2aaa

Browse files
committed
feature #48389 [Notifier] Add Bandwidth bridge (gnito-org)
This PR was squashed before being merged into the 6.3 branch. Discussion ---------- [Notifier] Add Bandwidth bridge | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT | Doc PR | symfony/symfony-docs#17483 | Recipe | symfony/recipes#1153 This PR add the notifier bridge for [Bandwidth](https://www.bandwidth.com/) (SMS). Commits ------- 604fd9f590 [Notifier] Add Bandwidth bridge
2 parents d31e4a2 + a951608 commit 07a2aaa

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
@@ -127,6 +127,7 @@
127127
use Symfony\Component\Mime\MimeTypes;
128128
use Symfony\Component\Notifier\Bridge\AllMySms\AllMySmsTransportFactory;
129129
use Symfony\Component\Notifier\Bridge\AmazonSns\AmazonSnsTransportFactory;
130+
use Symfony\Component\Notifier\Bridge\Bandwidth\BandwidthTransportFactory;
130131
use Symfony\Component\Notifier\Bridge\Chatwork\ChatworkTransportFactory;
131132
use Symfony\Component\Notifier\Bridge\Clickatell\ClickatellTransportFactory;
132133
use Symfony\Component\Notifier\Bridge\ContactEveryone\ContactEveryoneTransportFactory;
@@ -2553,6 +2554,7 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
25532554
$classToServices = [
25542555
AllMySmsTransportFactory::class => 'notifier.transport_factory.all-my-sms',
25552556
AmazonSnsTransportFactory::class => 'notifier.transport_factory.amazon-sns',
2557+
BandwidthTransportFactory::class => 'notifier.transport_factory.bandwidth',
25562558
ChatworkTransportFactory::class => 'notifier.transport_factory.chatwork',
25572559
ClickatellTransportFactory::class => 'notifier.transport_factory.clickatell',
25582560
ContactEveryoneTransportFactory::class => 'notifier.transport_factory.contact-everyone',

Resources/config/notifier_transports.php

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

1414
use Symfony\Component\Notifier\Bridge\AllMySms\AllMySmsTransportFactory;
1515
use Symfony\Component\Notifier\Bridge\AmazonSns\AmazonSnsTransportFactory;
16+
use Symfony\Component\Notifier\Bridge\Bandwidth\BandwidthTransportFactory;
1617
use Symfony\Component\Notifier\Bridge\Chatwork\ChatworkTransportFactory;
1718
use Symfony\Component\Notifier\Bridge\Clickatell\ClickatellTransportFactory;
1819
use Symfony\Component\Notifier\Bridge\ContactEveryone\ContactEveryoneTransportFactory;
@@ -312,5 +313,9 @@
312313
->parent('notifier.transport_factory.abstract')
313314
->tag('texter.transport_factory')
314315

316+
->set('notifier.transport_factory.bandwidth', BandwidthTransportFactory::class)
317+
->parent('notifier.transport_factory.abstract')
318+
->tag('texter.transport_factory')
319+
315320
;
316321
};

0 commit comments

Comments
 (0)