checkTopicCache($id); $cache = new TopicCourseListCache(); $result = $cache->get($topic->id); return $result ?: []; } }