This commit is contained in:
2020-12-16 15:55:08 +08:00
parent f414438d83
commit 41447c6c05
+1
View File
@@ -60,6 +60,7 @@ class Middleware
$this->set_attributes($node); $this->set_attributes($node);
} }
return $node->callback = Reduce::reduce(function () use ($node) { return $node->callback = Reduce::reduce(function () use ($node) {
var_dump($node->handler);
return Dispatch::create($node->handler, func_get_args())->dispatch(); return Dispatch::create($node->handler, func_get_args())->dispatch();
}, $this->annotation($node)); }, $this->annotation($node));
} catch (\Throwable $exception) { } catch (\Throwable $exception) {