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