改名
This commit is contained in:
@@ -69,7 +69,7 @@ class Container extends BaseObject
|
|||||||
* @throws NotFindClassException
|
* @throws NotFindClassException
|
||||||
* @throws ReflectionException
|
* @throws ReflectionException
|
||||||
*/
|
*/
|
||||||
public function get($class, $constrict = null, $config = null): mixed
|
public function get($class, $constrict = [], $config = []): mixed
|
||||||
{
|
{
|
||||||
if (isset($this->_singletons[$class])) {
|
if (isset($this->_singletons[$class])) {
|
||||||
return $this->_singletons[$class];
|
return $this->_singletons[$class];
|
||||||
|
|||||||
Reference in New Issue
Block a user