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 auth token. |
||
24 | * |
||
25 | * @return string |
||
26 | */ |
||
27 | public function getAuthToken() |
||
31 | |||
32 | /** |
||
33 | * Get the username. |
||
34 | * |
||
35 | * @return string |
||
36 | */ |
||
37 | public function getUsername() |
||
41 | |||
42 | /** |
||
43 | * Get the password. |
||
44 | * |
||
45 | * @return string |
||
46 | */ |
||
47 | public function getPassword() |
||
51 | |||
52 | /** |
||
53 | * Get the account sid. |
||
54 | * |
||
55 | * @return string |
||
56 | */ |
||
57 | public function getAccountSid() |
||
61 | |||
62 | /** |
||
63 | * Get the default from address. |
||
64 | * |
||
65 | * @return string |
||
66 | */ |
||
67 | public function getFrom() |
||
71 | |||
72 | /** |
||
73 | * Get the alphanumeric sender. |
||
74 | * |
||
75 | * @return string |
||
76 | */ |
||
77 | public function getAlphanumericSender() |
||
83 | |||
84 | /** |
||
85 | * Get the service sid. |
||
86 | * |
||
87 | * @return string |
||
88 | */ |
||
89 | public function getServiceSid() |
||
95 | } |
||
96 |