改名
This commit is contained in:
@@ -42,16 +42,9 @@ class DatabasesProviders extends Providers
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @throws ComponentException
|
|
||||||
* @throws ReflectionException
|
|
||||||
* @throws NotFindClassException
|
|
||||||
* @throws NotFindPropertyException
|
|
||||||
*/
|
|
||||||
public function scanModel()
|
public function scanModel()
|
||||||
{
|
{
|
||||||
$attributes = Snowflake::app()->getAttributes();
|
recursive_directory(MODEL_PATH);
|
||||||
$attributes->read(MODEL_PATH, 'App\Models', 'models');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user