1 | <?php namespace Anomaly\DashboardModule\Http\Controller\Admin; |
||
18 | class DashboardsController extends AdminController |
||
19 | { |
||
20 | |||
21 | /** |
||
22 | * Display a management index of existing entries. |
||
23 | * |
||
24 | * @param DashboardRepositoryInterface $dashboards |
||
25 | * @return \Illuminate\Contracts\View\View|mixed |
||
26 | */ |
||
27 | public function index(DashboardRepositoryInterface $dashboards) |
||
38 | |||
39 | /** |
||
40 | * Display a management index of existing entries. |
||
41 | * |
||
42 | * @param DashboardTableBuilder $table |
||
43 | * @return \Symfony\Component\HttpFoundation\Response |
||
44 | */ |
||
45 | public function manage(DashboardTableBuilder $table) |
||
49 | |||
50 | /** |
||
51 | * Create a new entry. |
||
52 | * |
||
53 | * @param DashboardFormBuilder $form |
||
54 | * @return \Symfony\Component\HttpFoundation\Response |
||
55 | */ |
||
56 | public function create(DashboardFormBuilder $form) |
||
60 | |||
61 | /** |
||
62 | * Edit an existing entry. |
||
63 | * |
||
64 | * @param DashboardFormBuilder $form |
||
65 | * @param $id |
||
66 | * @return \Symfony\Component\HttpFoundation\Response |
||
67 | */ |
||
68 | public function edit(DashboardFormBuilder $form, $id) |
||
72 | |||
73 | /** |
||
74 | * View a dashboard. |
||
75 | * |
||
76 | * @param DashboardRepositoryInterface $dashboards |
||
77 | * @param Guard $guard |
||
78 | * @param $dashboard |
||
79 | * @return \Illuminate\Contracts\View\View|mixed |
||
80 | */ |
||
81 | public function view(DashboardRepositoryInterface $dashboards, Guard $guard, $dashboard) |
||
110 | } |
||
111 |