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