Skip to content

Commit b9bdce5

Browse files
Kevin AuivinetOskarStark
authored andcommitted
[Notifier] Add notifier for Clickatell
1 parent 740cc29 commit b9bdce5

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
@@ -105,6 +105,7 @@
105105
use Symfony\Component\Mime\MimeTypeGuesserInterface;
106106
use Symfony\Component\Mime\MimeTypes;
107107
use Symfony\Component\Notifier\Bridge\AllMySms\AllMySmsTransportFactory;
108+
use Symfony\Component\Notifier\Bridge\Clickatell\ClickatellTransportFactory;
108109
use Symfony\Component\Notifier\Bridge\Discord\DiscordTransportFactory;
109110
use Symfony\Component\Notifier\Bridge\Esendex\EsendexTransportFactory;
110111
use Symfony\Component\Notifier\Bridge\Firebase\FirebaseTransportFactory;
@@ -2249,6 +2250,7 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
22492250
OctopushTransportFactory::class => 'notifier.transport_factory.octopush',
22502251
MercureTransportFactory::class => 'notifier.transport_factory.mercure',
22512252
GitterTransportFactory::class => 'notifier.transport_factory.gitter',
2253+
ClickatellTransportFactory::class => 'notifier.transport_factory.clickatell',
22522254
];
22532255

22542256
foreach ($classToServices as $class => $service) {

Resources/config/notifier_transports.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
1313

1414
use Symfony\Component\Notifier\Bridge\AllMySms\AllMySmsTransportFactory;
15+
use Symfony\Component\Notifier\Bridge\Clickatell\ClickatellTransportFactory;
1516
use Symfony\Component\Notifier\Bridge\Discord\DiscordTransportFactory;
1617
use Symfony\Component\Notifier\Bridge\Esendex\EsendexTransportFactory;
1718
use Symfony\Component\Notifier\Bridge\Firebase\FirebaseTransportFactory;
@@ -145,6 +146,10 @@
145146
->parent('notifier.transport_factory.abstract')
146147
->tag('chatter.transport_factory')
147148

149+
->set('notifier.transport_factory.clickatell', ClickatellTransportFactory::class)
150+
->parent('notifier.transport_factory.abstract')
151+
->tag('texter.transport_factory')
152+
148153
->set('notifier.transport_factory.null', NullTransportFactory::class)
149154
->parent('notifier.transport_factory.abstract')
150155
->tag('chatter.transport_factory')

0 commit comments

Comments
 (0)