Skip to content

Commit 06ad464

Browse files
PEtanguyfabpot
authored andcommitted
[Notifier] Add Brevo bridge (formerly Sendinblue)
1 parent c6c5729 commit 06ad464

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2721,6 +2721,7 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
27212721
NotifierBridge\AllMySms\AllMySmsTransportFactory::class => 'notifier.transport_factory.all-my-sms',
27222722
NotifierBridge\AmazonSns\AmazonSnsTransportFactory::class => 'notifier.transport_factory.amazon-sns',
27232723
NotifierBridge\Bandwidth\BandwidthTransportFactory::class => 'notifier.transport_factory.bandwidth',
2724+
NotifierBridge\Brevo\BrevoTransportFactory::class => 'notifier.transport_factory.brevo',
27242725
NotifierBridge\Chatwork\ChatworkTransportFactory::class => 'notifier.transport_factory.chatwork',
27252726
NotifierBridge\Clickatell\ClickatellTransportFactory::class => 'notifier.transport_factory.clickatell',
27262727
NotifierBridge\ClickSend\ClickSendTransportFactory::class => 'notifier.transport_factory.click-send',

Resources/config/notifier_transports.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
->abstract()
2323
->args([service('event_dispatcher'), service('http_client')->ignoreOnInvalid()])
2424

25+
->set('notifier.transport_factory.brevo', Bridge\Brevo\BrevoTransportFactory::class)
26+
->parent('notifier.transport_factory.abstract')
27+
->tag('texter.transport_factory')
28+
2529
->set('notifier.transport_factory.slack', Bridge\Slack\SlackTransportFactory::class)
2630
->parent('notifier.transport_factory.abstract')
2731
->tag('chatter.transport_factory')
@@ -279,11 +283,11 @@
279283
->set('notifier.transport_factory.simple-textin', Bridge\SimpleTextin\SimpleTextinTransportFactory::class)
280284
->parent('notifier.transport_factory.abstract')
281285
->tag('texter.transport_factory')
282-
286+
283287
->set('notifier.transport_factory.click-send', Bridge\ClickSend\ClickSendTransportFactory::class)
284288
->parent('notifier.transport_factory.abstract')
285289
->tag('texter.transport_factory')
286-
290+
287291
->set('notifier.transport_factory.smsmode', Bridge\Smsmode\SmsmodeTransportFactory::class)
288292
->parent('notifier.transport_factory.abstract')
289293
->tag('texter.transport_factory')

0 commit comments

Comments
 (0)