This commit is contained in:
as2252258@163.com
2021-08-03 02:40:00 +08:00
parent 261c91f33d
commit 3c3bfb7f0b
2 changed files with 3 additions and 25 deletions
-9
View File
@@ -33,15 +33,6 @@ defined('ASPECT_ERROR') or define('ASPECT_ERROR', 'Aspect annotation must implem
*/
public function execute(mixed $class, mixed $method = ''): bool
{
// TODO: Change the autogenerated stub
// if (!in_array(IAspect::class, class_implements($this->aspect))) {
// throw new Exception(ASPECT_ERROR . IAspect::class);
// }
// /** @var Aop $aop */
// $aop = Snowflake::getDi()->get(Aop::class);
//
// $aop->aop_add([$class, $method], $this->aspect);
return true;
}