1 | <?php |
||
11 | class TwilioChannel |
||
12 | { |
||
13 | /** |
||
14 | * @var Twilio |
||
15 | */ |
||
16 | protected $twilio; |
||
17 | |||
18 | /** |
||
19 | * @var Dispatcher |
||
20 | */ |
||
21 | protected $events; |
||
22 | |||
23 | /** |
||
24 | * TwilioChannel constructor. |
||
25 | * |
||
26 | * @param Twilio $twilio |
||
27 | * @param Dispatcher $events |
||
28 | */ |
||
29 | 10 | public function __construct(Twilio $twilio, Dispatcher $events) |
|
34 | |||
35 | /** |
||
36 | * Send the given notification. |
||
37 | * |
||
38 | * @param mixed $notifiable |
||
39 | * @param \Illuminate\Notifications\Notification $notification |
||
40 | * @return mixed |
||
41 | * @throws CouldNotSendNotification |
||
42 | */ |
||
43 | 10 | public function send($notifiable, Notification $notification) |
|
68 | |||
69 | /** |
||
70 | * Get the address to send a notification to. |
||
71 | * |
||
72 | * @param mixed $notifiable |
||
73 | * @return mixed |
||
74 | * @throws CouldNotSendNotification |
||
75 | */ |
||
76 | 10 | protected function getTo($notifiable) |
|
87 | |||
88 | /** |
||
89 | * Get the alphanumeric sender. |
||
90 | * |
||
91 | * @param $notifiable |
||
92 | * @return mixed|null |
||
93 | * @throws CouldNotSendNotification |
||
94 | */ |
||
95 | 9 | protected function canReceiveAlphanumericSender($notifiable) |
|
100 | } |
||
101 |
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.