From 36af0672dfff45e15b2309339a088bf03fae4658 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Tue, 23 Feb 2021 01:52:57 +0800 Subject: [PATCH] modify --- System/Di/Container.php | 1 + 1 file changed, 1 insertion(+) diff --git a/System/Di/Container.php b/System/Di/Container.php index 5e366941..05f345b2 100644 --- a/System/Di/Container.php +++ b/System/Di/Container.php @@ -138,6 +138,7 @@ class Container extends BaseObject if (!$reflection->isInstantiable()) { return null; } + $this->_reflection[$class] = $reflection; } else { $reflection = $this->_reflection[$class]; }