1 | <?php |
||
10 | class TurboSMSChannel |
||
11 | { |
||
12 | /** |
||
13 | * Login to API endpoint. |
||
14 | * |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $login; |
||
18 | |||
19 | /** |
||
20 | * Password to API endpoint. |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $password; |
||
25 | |||
26 | /** |
||
27 | * API endpoint wsdl url. |
||
28 | * |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $wsdlEndpoint; |
||
32 | |||
33 | /** |
||
34 | * Registered sender. Should be requested in TurboSMS user's page. |
||
35 | * |
||
36 | * @var string |
||
37 | */ |
||
38 | protected $sender; |
||
39 | |||
40 | /** |
||
41 | * Debug flag. If true, messages send/result wil be stored in Laravel log. |
||
42 | * |
||
43 | * @var bool |
||
44 | */ |
||
45 | protected $debug; |
||
46 | |||
47 | /** |
||
48 | * Sandbox mode flag. If true, endpoint API will not be invoked, useful for dev purposes. |
||
49 | * |
||
50 | * @var bool |
||
51 | */ |
||
52 | protected $sandboxMode; |
||
53 | |||
54 | /** |
||
55 | * @return mixed |
||
56 | */ |
||
57 | public function getWsdlEndpoint() |
||
61 | |||
62 | 3 | public function __construct(array $config = []) |
|
71 | |||
72 | /** |
||
73 | * @return \SoapClient |
||
74 | * @throws CouldNotSendNotification |
||
75 | */ |
||
76 | protected function getClient() |
||
84 | |||
85 | /** |
||
86 | * Send the given notification. |
||
87 | * |
||
88 | * @param mixed $notifiable |
||
89 | * |
||
90 | * @param Notification $notification |
||
91 | * @return void|array |
||
92 | * @throws CouldNotSendNotification |
||
93 | */ |
||
94 | 2 | public function send($notifiable, Notification $notification) |
|
131 | } |
||
132 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.