From 4d483a66e647687cda3a44cf2645a80d78a8ee9c Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Tue, 23 Feb 2021 02:42:15 +0800 Subject: [PATCH] modify --- System/Di/Service.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/System/Di/Service.php b/System/Di/Service.php index 58301e5b..ea241e13 100644 --- a/System/Di/Service.php +++ b/System/Di/Service.php @@ -92,7 +92,9 @@ class Service extends Component } else { $this->_definition[$id] = $definition; } - return $this->_components[$id] = Snowflake::createObject($definition); + $this->_components[$id] = Snowflake::createObject($definition); + var_dump($this->_components[$id]); + return $this->_components[$id]; } /**