This commit is contained in:
2026-06-24 20:45:36 +08:00
parent b7712d3d9d
commit 81250722ea
+10
View File
@@ -477,6 +477,16 @@ class Scanner extends Component
];
}
/**
* 返回 Master 扫描产生的完整清单数据,供 Worker 轻量重建注解路由
* @return array{string: array{mtime: int, classes: string[]}}
*/
public function getManifestClasses(): array
{
return $this->manifest->all();
}
public function reset(): void
{
$this->files = [];