class MiddlewareNameResolver (View source)
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. |
Resolve the middleware name to a class name(s) preserving passed parameters.
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/8.x/Illuminate/Routing/MiddlewareNameResolver.html