This commit is contained in:
2021-03-04 00:16:49 +08:00
parent b562f40146
commit 6d9926f6e5
+2 -1
View File
@@ -76,8 +76,9 @@ class Middleware
if (empty($annotation)) {
return;
}
var_dump($annotation, $action);
foreach ($annotation as $name => $_attribute) {
foreach ($_attribute as $attribute){
foreach ($_attribute as $attribute) {
if ($attribute instanceof Interceptor) {
$node->addInterceptor($attribute->interceptor);
}