Skip to content

Commit 0927c97

Browse files
gnito-orgfabpot
authored andcommitted
[Notifier] Add Plivo bridge
1 parent aca495a commit 0927c97

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

Exception/UnsupportedSchemeException.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ class UnsupportedSchemeException extends LogicException
144144
'class' => Bridge\OvhCloud\OvhCloudTransportFactory::class,
145145
'package' => 'symfony/ovh-cloud-notifier',
146146
],
147+
'plivo' => [
148+
'class' => Bridge\Plivo\PlivoTransportFactory::class,
149+
'package' => 'symfony/plivo-notifier',
150+
],
147151
'ringcentral' => [
148152
'class' => Bridge\RingCentral\RingCentralTransportFactory::class,
149153
'package' => 'symfony/ring-central-notifier',

Tests/Exception/UnsupportedSchemeExceptionTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ public function messageWhereSchemeIsPartOfSchemeToPackageMapProvider(): \Generat
169169
yield ['octopush', 'symfony/octopush-notifier'];
170170
yield ['onesignal', 'symfony/one-signal-notifier'];
171171
yield ['ovhcloud', 'symfony/ovh-cloud-notifier'];
172+
yield ['plivo', 'symfony/plivo-notifier'];
172173
yield ['ringcentral', 'symfony/ring-central-notifier'];
173174
yield ['rocketchat', 'symfony/rocket-chat-notifier'];
174175
yield ['sendberry', 'symfony/sendberry-notifier'];

Transport.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
use Symfony\Component\Notifier\Bridge\Octopush\OctopushTransportFactory;
3939
use Symfony\Component\Notifier\Bridge\OrangeSms\OrangeSmsTransportFactory;
4040
use Symfony\Component\Notifier\Bridge\OvhCloud\OvhCloudTransportFactory;
41+
use Symfony\Component\Notifier\Bridge\Plivo\PlivoTransportFactory;
4142
use Symfony\Component\Notifier\Bridge\RingCentral\RingCentralTransportFactory;
4243
use Symfony\Component\Notifier\Bridge\RocketChat\RocketChatTransportFactory;
4344
use Symfony\Component\Notifier\Bridge\Sendberry\SendberryTransportFactory;
@@ -103,6 +104,7 @@ final class Transport
103104
OctopushTransportFactory::class,
104105
OrangeSmsTransportFactory::class,
105106
OvhCloudTransportFactory::class,
107+
PlivoTransportFactory::class,
106108
RingCentralTransportFactory::class,
107109
RocketChatTransportFactory::class,
108110
SendberryTransportFactory::class,

0 commit comments

Comments
 (0)