改名
This commit is contained in:
@@ -36,15 +36,15 @@ class BaseObject implements Configure
|
|||||||
if (!empty($config) && is_array($config)) {
|
if (!empty($config) && is_array($config)) {
|
||||||
Snowflake::configure($this, $config);
|
Snowflake::configure($this, $config);
|
||||||
}
|
}
|
||||||
// $app = Snowflake::app();
|
$app = Snowflake::app();
|
||||||
// if ($app instanceof Application && $app->has('attributes')) {
|
if ($app instanceof Application && $app->has('attributes')) {
|
||||||
// annotation()->injectProperty($this);
|
annotation()->injectProperty($this);
|
||||||
// }
|
}
|
||||||
$this->initialization();
|
$this->init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function initialization()
|
public function init()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user