This commit is contained in:
2021-03-04 00:52:54 +08:00
parent ec1f47d9ef
commit 1fe01a22fb
+1 -8
View File
@@ -42,16 +42,9 @@ class DatabasesProviders extends Providers
}
/**
* @throws ComponentException
* @throws ReflectionException
* @throws NotFindClassException
* @throws NotFindPropertyException
*/
public function scanModel()
{
$attributes = Snowflake::app()->getAttributes();
$attributes->read(MODEL_PATH, 'App\Models', 'models');
recursive_directory(MODEL_PATH);
}