This commit is contained in:
2021-03-30 12:08:50 +08:00
parent 883caf0b95
commit 583dba208e
-1
View File
@@ -59,7 +59,6 @@ class Aop extends Component
return call_user_func($close, ...$get_args);
}
var_dump($this->_aop[$aopName]);
$reflect = Snowflake::getDi()->getReflect(current($this->_aop[$aopName]));
if (!$reflect->isInstantiable() || !$reflect->hasMethod('invoke')) {
throw new Exception(ASPECT_ERROR . IAspect::class);