| Total Complexity | 6 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class SMS |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var \GuzzleHttp\Client |
||
| 16 | */ |
||
| 17 | private $client; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * SMS constructor. |
||
| 21 | * |
||
| 22 | * @param string $message |
||
| 23 | * |
||
| 24 | * @throws \Exception |
||
| 25 | */ |
||
| 26 | public function __construct(?string $message = null) |
||
| 34 | } |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @param string $message |
||
| 39 | * |
||
| 40 | * @return bool |
||
| 41 | * @throws \Exception |
||
| 42 | */ |
||
| 43 | public function send(string $message): bool |
||
| 60 |