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