fetchRedis($redisService, $redisKey); } catch (EmptyRedis) { try { $inmobiliarias = $inmobiliariaRepository->fetchAll(); $this->saveRedis($redisService, $redisKey, $inmobiliarias, 30 * 24 * 60 * 60); } catch (EmptyResult) {} } return $view->render($response, 'contabilidad.cartolas.diaria', compact('inmobiliarias')); } }