1 | <?php |
||
8 | class Sns extends Driver |
||
9 | { |
||
10 | /** |
||
11 | * SNS Settings. |
||
12 | * |
||
13 | * @var object |
||
14 | */ |
||
15 | protected $settings; |
||
16 | |||
17 | /** |
||
18 | * SNS Client. |
||
19 | * |
||
20 | * @var SnsClient |
||
21 | */ |
||
22 | protected $client; |
||
23 | |||
24 | /** |
||
25 | * Construct the class with the relevant settings. |
||
26 | * |
||
27 | * SendSmsInterface constructor. |
||
28 | * @param $settings object |
||
29 | */ |
||
30 | public function __construct($settings) |
||
42 | |||
43 | /** |
||
44 | * Send text message and return response. |
||
45 | * |
||
46 | * @return object |
||
47 | */ |
||
48 | public function send() |
||
65 | |||
66 | /** |
||
67 | * @param string $recipient |
||
68 | * @return array |
||
69 | */ |
||
70 | protected function payload($recipient) |
||
87 | } |
||
88 |
This method has been deprecated.