1 | <?php |
||
9 | class MessagebirdClient |
||
10 | { |
||
11 | protected $client; |
||
12 | protected $access_key; |
||
13 | |||
14 | /** |
||
15 | * MessagebirdClient constructor. |
||
16 | * @param Client $client |
||
17 | * @param $access_key string API Key from Messagebird API |
||
18 | */ |
||
19 | 5 | public function __construct(Client $client, $access_key) |
|
24 | |||
25 | /** |
||
26 | * Send the Message. |
||
27 | * @param MessagebirdMessage $message |
||
28 | * @throws CouldNotSendNotification |
||
29 | */ |
||
30 | public function send(MessagebirdMessage $message) |
||
53 | } |
||
54 |
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.