1 | <?php |
||
26 | class ApiController extends Controller |
||
27 | { |
||
28 | /** |
||
29 | * Action for editing translation objects. |
||
30 | * |
||
31 | * @param Request $request Http request object. |
||
32 | * @param string $id |
||
33 | * |
||
34 | * @return JsonResponse |
||
35 | */ |
||
36 | public function editAction(Request $request, $id) |
||
48 | |||
49 | /** |
||
50 | * Action for getting translation. |
||
51 | * |
||
52 | * @param Request $request Http request object. |
||
53 | * @param string $id |
||
54 | * |
||
55 | * @return JsonResponse |
||
56 | */ |
||
57 | public function getAction(Request $request, $id) |
||
61 | |||
62 | /** |
||
63 | * Action for executing export command. |
||
64 | * |
||
65 | * @return JsonResponse |
||
66 | */ |
||
67 | public function exportAction() |
||
82 | |||
83 | /** |
||
84 | * Action for executing history command. |
||
85 | * |
||
86 | * @param Request $request Http request object. |
||
87 | * @param string $id |
||
88 | * |
||
89 | * @return JsonResponse |
||
90 | */ |
||
91 | public function historyAction(Request $request, $id) |
||
101 | } |
||
102 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.