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; + } }