MiddlewareNameResolver
class MiddlewareNameResolver (View source)
Methods
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 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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/6.x/Illuminate/Routing/MiddlewareNameResolver.html