Total Complexity | 2 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
16 | class SystemModulesController extends BaseController |
||
17 | { |
||
18 | /* |
||
19 | * fields we accept to create |
||
20 | * |
||
21 | * @var array |
||
22 | */ |
||
23 | protected $createFields = []; |
||
24 | |||
25 | /* |
||
26 | * fields we accept to create |
||
27 | * |
||
28 | * @var array |
||
29 | */ |
||
30 | protected $updateFields = ['show']; |
||
31 | |||
32 | /** |
||
33 | * set objects. |
||
34 | * |
||
35 | * @return void |
||
36 | */ |
||
37 | public function onConstruct() |
||
43 | ]; |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * Delete a Record. |
||
48 | * |
||
49 | * @throws Exception |
||
50 | * @return Response |
||
51 | */ |
||
52 | public function delete($id): Response |
||
57 |