This commit is contained in:
2021-03-04 10:24:49 +08:00
parent 7abcf82c6c
commit 96c5957dc8
+4 -1
View File
@@ -42,9 +42,12 @@ class DatabasesProviders extends Providers
}
/**
* @throws ComponentException
*/
public function scanModel()
{
recursive_directory(MODEL_PATH);
annotation()->instanceDirectoryFiles(MODEL_PATH);
}