改名
This commit is contained in:
@@ -35,7 +35,9 @@ class BaseObject implements Configure
|
|||||||
if (!empty($config) && is_array($config)) {
|
if (!empty($config) && is_array($config)) {
|
||||||
Snowflake::configure($this, $config);
|
Snowflake::configure($this, $config);
|
||||||
}
|
}
|
||||||
if (Snowflake::app() && Snowflake::app()->has('attributes')) {
|
|
||||||
|
$app = Snowflake::app();
|
||||||
|
if ($app != null && $app->has('attributes')) {
|
||||||
annotation()->injectProperty($this);
|
annotation()->injectProperty($this);
|
||||||
}
|
}
|
||||||
$this->initialization();
|
$this->initialization();
|
||||||
|
|||||||
Reference in New Issue
Block a user