File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ CHANGELOG
445.1.0
55-----
66
7+ * Added the Mattermost notifier bridge
78* [ BC BREAK] The ` ChatMessage::fromNotification() ` method's ` $recipient ` and ` $transport `
89 arguments were removed.
910* [ BC BREAK] The ` EmailMessage::fromNotification() ` and ` SmsMessage::fromNotification() `
Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ class UnsupportedSchemeException extends LogicException
3030 'class ' => Bridge \Telegram \TelegramTransportFactory::class,
3131 'package ' => 'symfony/telegram-notifier ' ,
3232 ],
33+ 'mattermost ' => [
34+ 'class ' => Bridge \Mattermost \MattermostTransportFactory::class,
35+ 'package ' => 'symfony/mattermost-notifier ' ,
36+ ],
3337 'nexmo ' => [
3438 'class ' => Bridge \Nexmo \NexmoTransportFactory::class,
3539 'package ' => 'symfony/nexmo-notifier ' ,
Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Component \Notifier ;
1313
14+ use Symfony \Component \Notifier \Bridge \Mattermost \MattermostTransportFactory ;
1415use Symfony \Component \Notifier \Bridge \Nexmo \NexmoTransportFactory ;
1516use Symfony \Component \Notifier \Bridge \Slack \SlackTransportFactory ;
1617use Symfony \Component \Notifier \Bridge \Telegram \TelegramTransportFactory ;
@@ -36,6 +37,7 @@ class Transport
3637 private const FACTORY_CLASSES = [
3738 SlackTransportFactory::class,
3839 TelegramTransportFactory::class,
40+ MattermostTransportFactory::class,
3941 NexmoTransportFactory::class,
4042 TwilioTransportFactory::class,
4143 ];
You can’t perform that action at this time.
0 commit comments