class
Illuminate
/
Routing
/
MiddlewareNameResolver
You are viewing an older version of the documentation. For the latest, please visit master documentation.
MiddlewareNameResolver
Methods
public
static
resolve ( $name , $map , $middlewareGroups ) : Closure |string|array
Resolve the middleware name to a class name(s) preserving passed parameters.
Parameters
- $name Closure |string
- $map array
- $middlewareGroups array
protected
static
parseMiddlewareGroup ( $name , $map , $middlewareGroups ) : array
Parse the middleware group and format it for usage.
Parameters
- $name string
- $map array
- $middlewareGroups array