改名
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ class Aop extends Component
|
|||||||
}
|
}
|
||||||
|
|
||||||
var_dump($this->_aop[$aopName]);
|
var_dump($this->_aop[$aopName]);
|
||||||
$reflect = Snowflake::getDi()->getReflect($this->_aop[$aopName]);
|
$reflect = Snowflake::getDi()->getReflect(current($this->_aop[$aopName]));
|
||||||
if (!$reflect->isInstantiable() || !$reflect->hasMethod('invoke')) {
|
if (!$reflect->isInstantiable() || !$reflect->hasMethod('invoke')) {
|
||||||
throw new Exception(ASPECT_ERROR . IAspect::class);
|
throw new Exception(ASPECT_ERROR . IAspect::class);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user