Do DI on registered middleware as well
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
f7319e139d
commit
098ab7af4b
|
@ -279,7 +279,7 @@ class DIContainer extends SimpleContainer implements IAppContainer {
|
|||
);
|
||||
|
||||
foreach($this->middleWares as $middleWare) {
|
||||
$dispatcher->registerMiddleware($c[$middleWare]);
|
||||
$dispatcher->registerMiddleware($c->query($middleWare));
|
||||
}
|
||||
|
||||
$dispatcher->registerMiddleware(
|
||||
|
|
Loading…
Reference in New Issue