| 1 | <?php |
||
| 13 | final class PlivoTexter implements Texter |
||
| 14 | { |
||
| 15 | public const API_BASE_URL = 'https://api.plivo.com'; |
||
| 16 | |||
| 17 | /** @var string */ |
||
| 18 | private $authId; |
||
| 19 | |||
| 20 | /** @var string */ |
||
| 21 | private $authToken; |
||
| 22 | |||
| 23 | /** @var ClientInterface */ |
||
| 24 | private $httpClient; |
||
| 25 | |||
| 26 | 2 | public function __construct(string $authId, string $authToken, ClientInterface $httpClient = null) |
|
| 37 | |||
| 38 | 2 | public function send(SmsMessage $message): void |
|
| 56 | } |
||
| 57 |