From 8bc0971f25f384bcf8c343af756d3f01fbecff5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 29 Mar 2021 16:04:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Annotation/Inject.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Annotation/Inject.php b/Annotation/Inject.php index aa54160d..d95ec3fb 100644 --- a/Annotation/Inject.php +++ b/Annotation/Inject.php @@ -38,10 +38,11 @@ use Snowflake\Snowflake; public function execute(array $handler): mixed { $injectValue = $this->parseInjectValue(); - var_dump($injectValue); if (!($handler[1] instanceof ReflectionProperty)) { $handler[1] = new ReflectionProperty($handler[0], $handler[1]); } + + var_dump(get_class($handler[0]) . '::' . $handler[1]); /** @var ReflectionProperty $handler [1] */ if ($handler[1]->isPrivate() || $handler[1]->isProtected()) { $method = 'set' . ucfirst($handler[1]->getName());