Skip to content

Commit 63892c3

Browse files
committed
feature #50414 [Notifier] Add Novu bridge (wouter-toppy)
This PR was squashed before being merged into the 6.4 branch. Discussion ---------- [Notifier] Add Novu bridge | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | yes | Deprecations? | no | Tickets | Fix #50412 | License | MIT | Doc PR | symfony/symfony-docs#18345 Provide [Novu](https://novu.co/) integration for Symfony Notifier. <!-- Replace this notice by a short README for your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the latest branch. - For new features, provide some code snippets to help understand usage. - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> Commits ------- 860cb3efd5 [Notifier] Add Novu bridge
2 parents beee233 + ac524ed commit 63892c3

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
@@ -2752,6 +2752,7 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
27522752
NotifierBridge\MessageMedia\MessageMediaTransportFactory::class => 'notifier.transport_factory.message-media',
27532753
NotifierBridge\MicrosoftTeams\MicrosoftTeamsTransportFactory::class => 'notifier.transport_factory.microsoft-teams',
27542754
NotifierBridge\Mobyt\MobytTransportFactory::class => 'notifier.transport_factory.mobyt',
2755+
NotifierBridge\Novu\NovuTransportFactory::class => 'notifier.transport_factory.novu',
27552756
NotifierBridge\Octopush\OctopushTransportFactory::class => 'notifier.transport_factory.octopush',
27562757
NotifierBridge\OneSignal\OneSignalTransportFactory::class => 'notifier.transport_factory.one-signal',
27572758
NotifierBridge\OrangeSms\OrangeSmsTransportFactory::class => 'notifier.transport_factory.orange-sms',

Resources/config/notifier_transports.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,13 +279,17 @@
279279
->set('notifier.transport_factory.simple-textin', Bridge\SimpleTextin\SimpleTextinTransportFactory::class)
280280
->parent('notifier.transport_factory.abstract')
281281
->tag('texter.transport_factory')
282-
282+
283283
->set('notifier.transport_factory.click-send', Bridge\ClickSend\ClickSendTransportFactory::class)
284284
->parent('notifier.transport_factory.abstract')
285285
->tag('texter.transport_factory')
286-
286+
287287
->set('notifier.transport_factory.smsmode', Bridge\Smsmode\SmsmodeTransportFactory::class)
288288
->parent('notifier.transport_factory.abstract')
289289
->tag('texter.transport_factory')
290+
291+
->set('notifier.transport_factory.novu', Bridge\Novu\NovuTransportFactory::class)
292+
->parent('notifier.transport_factory.abstract')
293+
->tag('texter.transport_factory')
290294
;
291295
};

0 commit comments

Comments
 (0)