改名
This commit is contained in:
@@ -76,8 +76,9 @@ class Middleware
|
|||||||
if (empty($annotation)) {
|
if (empty($annotation)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
var_dump($annotation, $action);
|
||||||
foreach ($annotation as $name => $_attribute) {
|
foreach ($annotation as $name => $_attribute) {
|
||||||
foreach ($_attribute as $attribute){
|
foreach ($_attribute as $attribute) {
|
||||||
if ($attribute instanceof Interceptor) {
|
if ($attribute instanceof Interceptor) {
|
||||||
$node->addInterceptor($attribute->interceptor);
|
$node->addInterceptor($attribute->interceptor);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user