| 1 | <?php |
||
| 10 | class Nexmo extends Driver |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Settings. |
||
| 14 | * |
||
| 15 | * @var object |
||
| 16 | */ |
||
| 17 | protected $settings; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Client. |
||
| 21 | * |
||
| 22 | * @var Client |
||
| 23 | */ |
||
| 24 | protected $client; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Construct the class with the relevant settings. |
||
| 28 | * |
||
| 29 | * SendSmsInterface constructor. |
||
| 30 | * @param $settings object |
||
| 31 | */ |
||
| 32 | public function __construct($settings) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Send text message and return response. |
||
| 42 | * |
||
| 43 | * @return object |
||
| 44 | */ |
||
| 45 | public function send() |
||
| 55 | } |
||
| 56 |