改名
This commit is contained in:
@@ -45,15 +45,6 @@ class BaseObject implements Configure
|
||||
*/
|
||||
public function init()
|
||||
{
|
||||
$app = Snowflake::app();
|
||||
if (!($app instanceof Application)) {
|
||||
return;
|
||||
}
|
||||
if (!$app->has('attributes')) {
|
||||
return;
|
||||
}
|
||||
$attributes = $app->getAttributes();
|
||||
$attributes->injectProperty($this);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user