checkCourse($id); $cache = new CourseRecommendedListCache(); $result = $cache->get($course->id); return $result ?: []; } }