*/ private function collectActiveModulesMeta(): array { $meta = []; try { $activeModules = $this->moduleManager->getActiveModules(); foreach ($activeModules as $identifier => $module) { $meta[] = [ 'identifier' => $module->getIdentifier(), 'display_name' => $module->getName(), 'version' => $module->getVersion(), ]; } } catch (\Exception $e) { Log::warning('Failed to collect active modules meta: '.$e->getMessage()); } return $meta; } /** * 활성 플러그인 메타 배열 수집 * * @return array */ private function collectActivePluginsMeta(): array { $meta = []; try { $activePlugins = $this->pluginManager->getActivePlugins(); foreach ($activePlugins as $identifier => $plugin) { $meta[] = [ 'identifier' => $plugin->getIdentifier(), 'display_name' => $plugin->getName(), 'version' => $plugin->getVersion(), ]; } } catch (\Exception $e) { Log::warning('Failed to collect active plugins meta: '.$e->getMessage()); } return $meta; } }