diff --git a/src/RouterProcessor.php b/src/RouterProcessor.php index 7f42d26..e4feab0 100644 --- a/src/RouterProcessor.php +++ b/src/RouterProcessor.php @@ -45,6 +45,9 @@ public function callMiddleware( $input, $context, // + 'fnNext' => $fnNext, + 'input' => $input, + 'context' => $context, 'middleware' => $middleware, 'pipeline' => $pipeline, 'route' => $route, @@ -75,6 +78,8 @@ public function callAction( $input, $context, // + 'input' => $input, + 'context' => $context, 'action' => $action, 'pipeline' => $pipeline, 'route' => $route, @@ -106,6 +111,9 @@ public function callFallback( $input, $context, // + 'e' => $e, + 'input' => $input, + 'context' => $context, 'fallback' => $fallback, 'pipeline' => $pipeline, 'route' => $route,