This commit is contained in:
2021-08-02 18:43:12 +08:00
parent 5b473b2d5a
commit ce1952d796
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ defined('ASPECT_ERROR') or define('ASPECT_ERROR', 'Aspect annotation must implem
throw new Exception(ASPECT_ERROR . IAspect::class);
}
/** @var Aop $aop */
$aop = Snowflake::app()->get('aop');
$aop = Snowflake::app()->get(Aop::class);
$aop->aop_add([$class, $method], $this->aspect);