grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026metaService = $metaService; } /** * * @param Request $request * @param Response $response * @param array $args * @return Response */ public function getModuleList(Request $request, Response $response, array $args) { try { $jsonResponse = $this->metaService->getModuleList($request); return $this->generateResponse($response, $jsonResponse, 200); } catch (Exception $exception) { return $this->generateErrorResponse($response, $exception, 400); } } /** * * @param Request $request * @param Response $response * @param array $args * @return Response */ public function getFieldList(Request $request, Response $response, array $args, GetFieldListParams $fieldListParams) { try { $jsonResponse = $this->metaService->getFieldList($request, $fieldListParams); return $this->generateResponse($response, $jsonResponse, 200); } catch (Exception $exception) { return $this->generateErrorResponse($response, $exception, 400); } } }