From 2466d57d0ef8c9cf772dd65a70fa64299ec3ee89 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Sat, 3 Apr 2021 01:37:42 +0800 Subject: [PATCH] modify --- Annotation/Loader.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Annotation/Loader.php b/Annotation/Loader.php index 9adef56a..51351a7b 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -185,11 +185,11 @@ class Loader extends BaseObject if (!class_exists($attribute->getName())) { continue; } - $property = $attribute->newInstance(); - if ($property instanceof Inject) { - $property->execute([$_array['handler'], $method]); - } - $_property[] = $property; +// $property = $attribute->newInstance(); +// if ($property instanceof Inject) { +// $property->execute([$_array['handler'], $method]); +// } + $_property[] = $attribute->newInstance(); } $_array['property'][$method->getName()] = $_property; }