Skip to content

Commit

Permalink
- Add flushMiddlewareGroups function to be compliant with Foundation/…
Browse files Browse the repository at this point in the history
…Console/RouteListCommand.php handle function
  • Loading branch information
gonpre committed Mar 18, 2021
1 parent ef9dc3e commit d955589
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Routing/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit d955589

Please sign in to comment.