| Total Complexity | 4 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class AndroidGSMmodem implements IProvider { |
||
| 13 | |||
| 14 | const PROVIDER_ID = 'android_gsm_modem'; |
||
| 15 | |||
| 16 | /** @var IClient */ |
||
| 17 | private $client; |
||
| 18 | |||
| 19 | /** @var AndroidGSMmodemConfig */ |
||
| 20 | private $config; |
||
| 21 | |||
| 22 | public function __construct(IClientService $clientService, |
||
| 23 | AndroidGSMmodemConfig $config) { |
||
| 24 | $this->client = $clientService->newClient(); |
||
| 25 | $this->config = $config; |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param string $identifier |
||
| 30 | * @param string $message |
||
| 31 | * |
||
| 32 | * @throws SmsTransmissionException |
||
| 33 | */ |
||
| 34 | public function send(string $identifier, string $message) { |
||
| 43 | } |
||
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return AndroidGSMmodemConfig |
||
| 48 | */ |
||
| 49 | public function getConfig(): IProviderConfig { |
||
| 53 |