Router
Less than 1 minute
Router
interface RouterMethods
addRoute
Adds a route to the router.
public addRoute(Route $route): voidReturns: void
This method sets the router for the given route and then adds the route to the list of routes managed by this router.
Parameters
| Parameter | Type | Description |
|---|---|---|
$route | Hazaar\Application\Route |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:17 +0000