1 | <?php |
||
5 | class TwilioConfig |
||
6 | { |
||
7 | /** |
||
8 | * @var array |
||
9 | */ |
||
10 | private $config; |
||
11 | |||
12 | /** |
||
13 | * TwilioConfig constructor. |
||
14 | * |
||
15 | * @param array $config |
||
16 | */ |
||
17 | public function __construct(array $config) |
||
21 | |||
22 | /** |
||
23 | * Get the account sid. |
||
24 | * |
||
25 | * @return string |
||
26 | */ |
||
27 | public function getAccountSid() |
||
31 | |||
32 | /** |
||
33 | * Get the auth token. |
||
34 | * |
||
35 | * @return string |
||
36 | */ |
||
37 | public function getAuthToken() |
||
41 | |||
42 | /** |
||
43 | * Get the default from address. |
||
44 | * |
||
45 | * @return string |
||
46 | */ |
||
47 | public function getFrom() |
||
51 | |||
52 | /** |
||
53 | * Get the alphanumeric sender. |
||
54 | * |
||
55 | * @return string |
||
56 | */ |
||
57 | public function getAlphanumericSender() |
||
63 | |||
64 | /** |
||
65 | * Get the service sid. |
||
66 | * |
||
67 | * @return string |
||
68 | */ |
||
69 | public function getServiceSid() |
||
75 | } |
||
76 |