MiddlewareNameResolver
class MiddlewareNameResolver (View source)
Methods
static Closure|string|array
static array
parseMiddlewareGroup(string $name, array $map, array $middlewareGroups)
Parse the middleware group and format it for usage.
Details
static Closure|string|array
resolve(Closure|string $name, array $map, array $middlewareGroups)
Resolve the middleware name to a class name(s) preserving passed parameters.
static protected array
parseMiddlewareGroup(string $name, array $map, array $middlewareGroups)
Parse the middleware group and format it for usage.