Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class WebhookController extends \Illuminate\Routing\Controller |
||
14 | { |
||
15 | /** |
||
16 | * The webhook dispatcher. |
||
17 | * |
||
18 | * @var Dispatcher |
||
19 | */ |
||
20 | protected $dispatcher; |
||
21 | |||
22 | /** |
||
23 | * WebhookController constructor. |
||
24 | * |
||
25 | * @param Dispatcher $dispatcher |
||
26 | */ |
||
27 | public function __construct(Dispatcher $dispatcher) |
||
30 | } |
||
31 | |||
32 | /** |
||
33 | * Handle the incoming webhook. |
||
34 | * |
||
35 | * @param string $key |
||
36 | * @param Request $request |
||
37 | */ |
||
38 | public function __invoke(string $key, Request $request) |
||
41 | } |
||
42 | } |