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