改名
This commit is contained in:
@@ -86,7 +86,6 @@ class Middleware
|
|||||||
$node->addAfter($attribute->after);
|
$node->addAfter($attribute->after);
|
||||||
}
|
}
|
||||||
if ($attribute instanceof RMiddleware) {
|
if ($attribute instanceof RMiddleware) {
|
||||||
var_dump($attribute->middleware);
|
|
||||||
$node->addMiddleware($attribute->middleware);
|
$node->addMiddleware($attribute->middleware);
|
||||||
}
|
}
|
||||||
if ($attribute instanceof Limits) {
|
if ($attribute instanceof Limits) {
|
||||||
@@ -108,7 +107,7 @@ class Middleware
|
|||||||
foreach ($node->getMiddleWares() as $middleWare) {
|
foreach ($node->getMiddleWares() as $middleWare) {
|
||||||
$middleWares[] = $middleWare;
|
$middleWares[] = $middleWare;
|
||||||
}
|
}
|
||||||
$this->middleWares = [];
|
var_dump($middleWares);
|
||||||
return $middleWares;
|
return $middleWares;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user