| 1 | <?php |
||
| 8 | class Twilio extends Driver |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Twilio Settings. |
||
| 12 | * |
||
| 13 | * @var object |
||
| 14 | */ |
||
| 15 | protected $settings; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Twilio Client. |
||
| 19 | * |
||
| 20 | * @var Client |
||
| 21 | */ |
||
| 22 | protected $client; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Construct the class with the relevant settings. |
||
| 26 | * |
||
| 27 | * SendSmsInterface constructor. |
||
| 28 | * @param $settings object |
||
| 29 | */ |
||
| 30 | public function __construct($settings) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Send text message and return response. |
||
| 38 | * |
||
| 39 | * @return object |
||
| 40 | */ |
||
| 41 | public function send() |
||
| 55 | } |
||
| 56 |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.