$this middlewareGroup(string $name, array $middleware) Register a group of middleware. Parameters string $name array $middleware Return Value $this
array mergeWithLastGroup(array $new) Merge the given array with the last group stack. Parameters array $new Return Value array
void matched(string|callable $callback) Register a route matched event listener. Parameters string|callable $callback Return Value void
void match(array|string $methods, string $uri, Closure|array|string $action = null) Register a new route with the given verbs. Parameters array|string $methods string $uri Closure|array|string $action Return Value void
static array mergeGroup(array $new, array $old) Merge the given group attributes. Parameters array $new array $old Return Value array
$this middleware(string $name, string $class) Register a short-hand name for a middleware. Parameters string $name string $class Return Value $this
static void macro(string $name, callable $macro) Register a custom macro. Parameters string $name callable $macro Return Value void
mixed input(string $key, string $default = null) Get a route parameter for the current route. Parameters string $key string $default Return Value mixed
bool is() Alias for the "currentRouteNamed" method. Return Value bool
static bool hasMacro(string $name) Checks if macro is registered. Parameters string $name Return Value bool
Page 208 of 996