改名
This commit is contained in:
@@ -86,9 +86,6 @@ class Container extends BaseObject
|
|||||||
} else {
|
} else {
|
||||||
throw new NotFindClassException($class);
|
throw new NotFindClassException($class);
|
||||||
}
|
}
|
||||||
|
|
||||||
Snowflake::configure($object, $config);
|
|
||||||
|
|
||||||
return $this->_singletons[$class] = $object;
|
return $this->_singletons[$class] = $object;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ class Service extends Component
|
|||||||
|
|
||||||
$object = Snowflake::createObject($config);
|
$object = Snowflake::createObject($config);
|
||||||
}
|
}
|
||||||
|
Snowflake::configure($object, $config);
|
||||||
return $this->_components[$id] = $object;
|
return $this->_components[$id] = $object;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user