From a5240de569d5d885db1b26d2c22ea3c8fe5e7da5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 2 Aug 2021 18:47:37 +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 --- System/Aop.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Aop.php b/System/Aop.php index 88a8e9b9..fb309f4c 100644 --- a/System/Aop.php +++ b/System/Aop.php @@ -46,6 +46,7 @@ class Aop extends Component */ public function hasAop($handler): bool { + var_dump($handler[0]::class . '::' . $handler[1]); return isset(static::$_aop[$handler[0]::class . '::' . $handler[1]]); } @@ -81,7 +82,6 @@ class Aop extends Component { $aopName = $handler[0]::class . '::' . $handler[1]; - var_dump($aopName); $reflect = Snowflake::getDi()->get(current(static::$_aop[$aopName])); if (!method_exists($reflect, 'invoke')) { throw new Exception(ASPECT_ERROR . IAspect::class);