1 | <?php namespace Anomaly\PreferencesModule\Http\Controller\Admin; |
||
15 | class AddonsController extends AdminController |
||
16 | { |
||
17 | |||
18 | /** |
||
19 | * Return an index of addons with preferences. |
||
20 | * |
||
21 | * @param AddonTableBuilder $table |
||
22 | * @param Authorizer $authorizer |
||
23 | * @param $type |
||
24 | * @return \Symfony\Component\HttpFoundation\Response |
||
25 | */ |
||
26 | public function index(AddonTableBuilder $table, Authorizer $authorizer, $type) |
||
36 | |||
37 | /** |
||
38 | * Return a form for editing preferences. |
||
39 | * |
||
40 | * @param PreferenceFormBuilder $form |
||
41 | * @param Authorizer $authorizer |
||
42 | * @param $type |
||
43 | * @param $addon |
||
44 | * @return \Symfony\Component\HttpFoundation\Response |
||
45 | */ |
||
46 | public function edit(PreferenceFormBuilder $form, Authorizer $authorizer, $type, $addon) |
||
56 | } |
||
57 |