From d95558983c91f1e118fc8e7081b67f7d1dee10fa Mon Sep 17 00:00:00 2001 From: Francisco Gonzalez Date: Thu, 18 Mar 2021 12:58:42 -0700 Subject: [PATCH] - Add flushMiddlewareGroups function to be compliant with Foundation/Console/RouteListCommand.php handle function --- src/Routing/Router.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Routing/Router.php b/src/Routing/Router.php index 108cc95d2..a38fe2e4d 100644 --- a/src/Routing/Router.php +++ b/src/Routing/Router.php @@ -850,4 +850,14 @@ public function currentRouteUses($action) { return $this->currentRouteAction() == $action; } + + /** + * Flush the router's middleware groups. + * + * @return $this + */ + public function flushMiddlewareGroups() + { + return $this; + } }