Skip to content

Commit d93be5c

Browse files
committed
feature #47373 [Notifier] Add Chatwork Notifier Bridge (Ippey)
This PR was squashed before being merged into the 6.2 branch. Discussion ---------- [Notifier] Add Chatwork Notifier Bridge | Q | A | ------------- | --- | Branch? | 6.2 | Bug fix? | no | New feature? | yes | Deprecations? | no | License | MIT Add Chatwork Notifier Bridge. [Chatwork](https://go.chatwork.com/) is one of the popular chat tools in Japan. This bridge allows sending messages to Chatwork via [Chatwork API](https://developer.chatwork.com/docs). Commits ------- 6dcab51f3f [Notifier] Add Chatwork Notifier Bridge
2 parents 57ef7d3 + 7b4d30b commit d93be5c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
use Symfony\Component\Mime\MimeTypes;
126126
use Symfony\Component\Notifier\Bridge\AllMySms\AllMySmsTransportFactory;
127127
use Symfony\Component\Notifier\Bridge\AmazonSns\AmazonSnsTransportFactory;
128+
use Symfony\Component\Notifier\Bridge\Chatwork\ChatworkTransportFactory;
128129
use Symfony\Component\Notifier\Bridge\Clickatell\ClickatellTransportFactory;
129130
use Symfony\Component\Notifier\Bridge\ContactEveryone\ContactEveryoneTransportFactory;
130131
use Symfony\Component\Notifier\Bridge\Discord\DiscordTransportFactory;
@@ -2564,6 +2565,7 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
25642565
$classToServices = [
25652566
AllMySmsTransportFactory::class => 'notifier.transport_factory.all-my-sms',
25662567
AmazonSnsTransportFactory::class => 'notifier.transport_factory.amazon-sns',
2568+
ChatworkTransportFactory::class => 'notifier.transport_factory.chatwork',
25672569
ClickatellTransportFactory::class => 'notifier.transport_factory.clickatell',
25682570
ContactEveryoneTransportFactory::class => 'notifier.transport_factory.contact-everyone',
25692571
DiscordTransportFactory::class => 'notifier.transport_factory.discord',

Resources/config/notifier_transports.php

Lines changed: 6 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\Chatwork\ChatworkTransportFactory;
1617
use Symfony\Component\Notifier\Bridge\Clickatell\ClickatellTransportFactory;
1718
use Symfony\Component\Notifier\Bridge\ContactEveryone\ContactEveryoneTransportFactory;
1819
use Symfony\Component\Notifier\Bridge\Discord\DiscordTransportFactory;
@@ -281,5 +282,10 @@
281282
->set('notifier.transport_factory.zendesk', ZendeskTransportFactory::class)
282283
->parent('notifier.transport_factory.abstract')
283284
->tag('chatter.transport_factory')
285+
286+
->set('notifier.transport_factory.chatwork', ChatworkTransportFactory::class)
287+
->parent('notifier.transport_factory.abstract')
288+
->tag('chatter.transport_factory')
289+
284290
;
285291
};

0 commit comments

Comments
 (0)