class
Illuminate
/
Routing
/
MiddlewareNameResolver
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