1 | <?php |
||
11 | class RoutesDataTable extends AbstractDataTable |
||
12 | { |
||
13 | /** |
||
14 | * {@inheritdoc} |
||
15 | */ |
||
16 | protected $createButton = false; |
||
17 | |||
18 | /** |
||
19 | * Get the query object to be processed by dataTables. |
||
20 | * |
||
21 | * @return \Illuminate\Database\Eloquent\Builder|\Illuminate\Database\Query\Builder|\Illuminate\Support\Collection |
||
22 | */ |
||
23 | public function query() |
||
40 | |||
41 | /** |
||
42 | * Display ajax response. |
||
43 | * |
||
44 | * @return \Illuminate\Http\JsonResponse |
||
45 | */ |
||
46 | public function ajax() |
||
51 | |||
52 | /** |
||
53 | * Get columns. |
||
54 | * |
||
55 | * @return array |
||
56 | */ |
||
57 | protected function getColumns(): array |
||
68 | |||
69 | /** |
||
70 | * Get filename for export. |
||
71 | * |
||
72 | * @return string |
||
73 | */ |
||
74 | protected function filename(): string |
||
78 | } |
||
79 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.