1 | <?php |
||
13 | class ExceptionController extends AdminListController |
||
14 | { |
||
15 | private function getAdminListConfigurator() |
||
23 | |||
24 | /** |
||
25 | * @Route("/", name="kunstmaanadminbundle_admin_exception") |
||
26 | */ |
||
27 | public function indexAction(Request $request) |
||
31 | |||
32 | /** |
||
33 | * @Route("/resolve_all", name="kunstmaanadminbundle_admin_exception_resolve_all") |
||
34 | * |
||
35 | * @return RedirectResponse |
||
36 | * |
||
37 | * @throws \Doctrine\ORM\NonUniqueResultException |
||
38 | * @throws \Doctrine\ORM\NoResultException |
||
39 | * @throws \InvalidArgumentException |
||
40 | */ |
||
41 | public function resolveAllAction() |
||
54 | |||
55 | /** |
||
56 | * @Route("/toggle_resolve/{id}", name="kunstmaanadminbundle_admin_exception_toggle_resolve") |
||
57 | * |
||
58 | * @param Request $request |
||
59 | * @param Exception $model |
||
60 | * |
||
61 | * @return RedirectResponse |
||
62 | * |
||
63 | * @throws \Doctrine\ORM\OptimisticLockException |
||
64 | * @throws \InvalidArgumentException |
||
65 | * @throws \Doctrine\ORM\ORMInvalidArgumentException |
||
66 | */ |
||
67 | public function toggleResolveAction(Request $request, Exception $model) |
||
88 | } |
||
89 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.