1 | <?php |
||
7 | class Plivo extends PlivoRestApi |
||
8 | { |
||
9 | /** @var string */ |
||
10 | protected $auth_id; |
||
11 | |||
12 | /** @var string */ |
||
13 | protected $authToken; |
||
14 | |||
15 | /** @var string */ |
||
16 | protected $from; |
||
17 | |||
18 | /** |
||
19 | * Create a new Plivo RestAPI instance. |
||
20 | * |
||
21 | * @param array $config |
||
22 | * @return void |
||
|
|||
23 | */ |
||
24 | public function __construct(array $config) |
||
32 | |||
33 | /** |
||
34 | * Number SMS is being sent from. |
||
35 | * |
||
36 | * @return string |
||
37 | */ |
||
38 | public function from() |
||
42 | } |
||
43 |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.