1 | <?php |
||
10 | class RolesDataTable extends AbstractDataTable |
||
11 | { |
||
12 | /** |
||
13 | * {@inheritdoc} |
||
14 | */ |
||
15 | protected $model = Role::class; |
||
16 | |||
17 | /** |
||
18 | * Display ajax response. |
||
19 | * |
||
20 | * @return \Illuminate\Http\JsonResponse |
||
21 | */ |
||
22 | public function ajax() |
||
28 | |||
29 | /** |
||
30 | * Get columns. |
||
31 | * |
||
32 | * @return array |
||
33 | */ |
||
34 | protected function getColumns(): array |
||
47 | } |
||
48 |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.