afterFetch(); return $question; } public function getCategories() { $categoryRepo = new CategoryRepo(); return $categoryRepo->findAll([ 'type' => CategoryModel::TYPE_ARTICLE, 'level' => 1, 'published' => 1, ]); } public function getXmTags($id) { $service = new XmTagListService(); return $service->handle($id); } public function getQuestion($id) { return $this->checkQuestion($id); } }