A class that can be used to build and reference dynamic routes in the application.
Routes can be defined in nested groups, with prefixes and middleware handlers.
Programmatic aliases of this route.
Pre-compiled route handlers for the post-middleware for this route.
Pre-compiled route handler for the main route handler for this route.
Pre-compiled route handlers for the pre-middleware for this route.
Middlewares that should be applied to this route.
The current nested group stack. This is used internally when compiling the routes by nested group.
Groups of routes that have been registered with the application.
Routes that have been created and registered in the application.
The global application instance.
Set a programmatic name for this route.
Get the global Application.
Resolve and return the route handler for this route.
Get the global Container.
Given a request path, try to extract this route's paramters from the path string.
Get the method with the given name from this class, bound to this class.
Get the string-form of the route handler.
Get the string-form of the route.
make() method on the global container.
Returns true if this route matches the given HTTP verb and request path.
Prefix the route's path with the given prefix, normalizing
Try to pre-compile and return the main handler for this route.
Resolve and return the route handlers for the given pre- or post-flight stage.
Try to pre-compile and return the postflight handlers for this route.
Try to pre-compile and return the preflight handlers for this route.
Cast the route to an intelligible string.
Load and compile all of the registered routes and their groups, accounting for nested groups and resolving handlers.
This function attempts to resolve the route handlers ahead of time to cache them and also expose any handler resolution errors that might happen at runtime.
Create a new route group with the given prefix.
Register a route group handler.