From 8a4c5dab54a23a2273eef3c3d362b56f496efc40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 2 Aug 2021 18:51: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 --- System/Aop.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/System/Aop.php b/System/Aop.php index fb309f4c..d15d5805 100644 --- a/System/Aop.php +++ b/System/Aop.php @@ -33,6 +33,7 @@ class Aop extends Component if (!isset(static::$_aop[$alias])) { static::$_aop[$alias] = []; } + var_dump('add ' . $alias); if (in_array($aspect, static::$_aop[$alias])) { return; } @@ -46,7 +47,7 @@ class Aop extends Component */ public function hasAop($handler): bool { - var_dump($handler[0]::class . '::' . $handler[1]); + var_dump('check ' . $handler[0]::class . '::' . $handler[1]); return isset(static::$_aop[$handler[0]::class . '::' . $handler[1]]); }