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