Router
Less than 1 minute
Router
Methods
addRoute
Adds a route to the router.
public addRoute(Route $route): voidThis 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 | Route |
Generated by Hazaar API Doc Generator on Sun, 01 Mar 2026 09:22:26 +0000